A JavaScript database with mongo-like query language, data-binding support, runs in browsers and hybrid mobile apps as a client-side DB or on the server via Node.js!
I've used the $replace operator for new documents (as opposed to searching if they exist) and there seems to be not problem with that. Is this by design or should I check if a document exists (by primary key) and then $inserting if not yet in collection?
I've used the $replace operator for new documents (as opposed to searching if they exist) and there seems to be not problem with that. Is this by design or should I check if a document exists (by primary key) and then $inserting if not yet in collection?