3 ms·
It's amazing for three things: search, logging and draft records. Search, with mongodb can do $all query, which is hard to replicate at sql level without aggre
by fendy3002 6y ago
It's amazing for three things: search, logging and draft records.
Search, with mongodb can do $all query, which is hard to replicate at sql level without aggregation. However I'm still waiting for aggregate-level $elemAt.
Logging, you can attach anything to a property, then it'll be queryable.
Draft records, it's easy to just insert and insert the records because it's schema-less. Validate during creation and validate again during publishing or approval. It's queryable and you can use a generic collection for that.
For logging and draft records, sql JSON field may be able to handle them, though I don't know how good it is at querying.
- myrryr 6y ago4 things, you missed _crazy_ fast analytics.