3 ms·
Don't lie to yourself, it has schemas. They are just implicit. Want to write JavaScript migration scripts for changing the Schema? I sure don't. But that is not
by PuercoPop 13y ago
Don't lie to yourself, it has schemas. They are just implicit. Want to write JavaScript migration scripts for changing the Schema? I sure don't. But that is not even the begining to describe how broken mongodb design is. getLastError as a way to do write confirmation?
- aroman 13y agoYou can call them whatever you want, but I don't need to write any migration scripts when I change the schema. Writing a migration script MIGHT be a good idea, depending on my setup, but I definitely don't NEED to. I don't really know what you mean about the design being "broken", unless you mean that it's "different", in which case I would agree. As for write confirmation, you have flexibility in that regard. You don't need to be checking getLastError for write confirmation[0], though if you wanted to use a broken pattern, you could. [0] http://docs.mongodb.org/manual/core/write-concern/ http://docs.mongodb.org/manual/core/write-concern/