Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Let’s try to distinguish these databases by strict vs. loose schema validation, instead of SQL vs. NoSQL, and things might become less confusing for the next generation of developers.

That along with denormalization is how I’ve always thought about it. I learned SQL first and I’ve always seen the queries as just different ways of expressing “give me all of the documents where x is true”.

To me, Mongo is just the one where you can accidentally have different schemas in the same table (collection), you can have lists and embedded documents in a document, and the data is already JSON. Make your data as relational or nonrelational (or both) as you want.



Schema on read versus schema on write?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: