3 ms·
It's probably just a matter of writing some code to map from mongo-style queries to SQL. The query operations would probably be straight-forward, but I could s
by s_kilk 12y ago
It's probably just a matter of writing some code to map from mongo-style queries to SQL.
The query operations would probably be straight-forward, but I could see issues with the write operators mongo has. For instance, if the relational database doesn't support atomic updates within json documents then it may be hard to match the meaning of mongos $set operation, etc.
EDIT: I tried doing exactly this as a clojure library (https://github.com/ShaneKilkelly/clj-bedquilt https://github.com/ShaneKilkelly/clj-bedquilt)