Do I HAVE to define a schema when working with NoSQL like MongoDB?


#1

Hi, I have a usecase where I use MongoDB to store a json document with more than 1200 possible nested fields… I transform a XML document into a JSON document and POST to Mongo)… so, I use a flexible schema approach… Also, I need to define a “partial” schema where I configure some fields that are always present in a document of this type… is this supported by dreamfactory?


#2

You don’t have to define a schema. You can create documents with different fields within the same collection.