Dave
Dave

Reputation: 9373

(Simplified) SQL translator for MongoDB?

Is there an automated script that can translate SQL-like queries to MongoDB queries? Even if it's just things like:

FROM table SELECT a, b, SUM(c) as my_sum WHERE d > 4?

Or maybe an automated UnQL to MongoDB translator?

Upvotes: 1

Views: 1883

Answers (3)

user2152443
user2152443

Reputation: 51

I think the most recent (on-going) effort at offering SQL-to-mongo translation is coming from Keith Schnable's interface at http://mongosql.com

Gary R.

Upvotes: 0

thomas
thomas

Reputation: 2578

Have a look at this website querymongo.com it does exactly what you want/need.

Upvotes: 3

Petrogad
Petrogad

Reputation: 4423

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.

Upvotes: 0

Related Questions