是否有可以将类似 SQL 的查询转换为 MongoDB 查询的自动化脚本?即使它只是这样的事情:
FROM table SELECT a, b, SUM(c) as my_sum WHERE d > 4?
或者也许是一个自动化的 UnQL 到 MongoDB 的翻译器?
看看这个网站querymongo.com它正是你想要/需要的。
Not currently that I've seen.. however I have two suggestions on the matter:
Could create a Github project to do this and see if the community as a collective whole could put one together.
Use this link: SQL to Mongo Mapping from Mongo which already has everything in it ready to go.
我认为提供 SQL 到 mongo 翻译的最新(正在进行的)工作来自 Keith Schnable 在http://mongosql.com的界面
加里·R。