3 ms·
An undocumented and unvalidated schema, you mean. A database without a schema is a contradiction in terms.
by gaius 13y ago
An undocumented and unvalidated schema, you mean. A database without a schema is a contradiction in terms.
- Widdershin 13y agoMy apologies, the official documentation referred to MongoDB as "schemaless" so I figured it was a real thing.
- yen223 13y agoYou aren't wrong, MongoDB is schemaless in the sense that you don't need to define a schema to use Mongo. But to use any datastore, you'll be defining a schema somewhere - generally, in your app itself.
- lmm 13y agoDepends how you define database. Perhaps it's more precise to say that Mongo is a schemaless key-value store, but in truth it provides many functions that people think of as a "database", and the differences between it and traditional RDBMS seem inessential to what distinguishes a database from other things.