nonopolarity
nonopolarity

Reputation: 151126

Does MongoDB have a Ruby Shell or Python Shell in addition to the Javascript shell?

Or, does using Ruby's irb and then require 'mongo' and adding some Connect statement essentially act like a Ruby shell... it would be great if a Ruby shell can be possible which as convenient as the Javascript Shell.

Upvotes: 1

Views: 489

Answers (2)

cldwalker
cldwalker

Reputation: 6175

You may find hirb handy for creating ascii tables from mongodb objects.

Upvotes: 0

Gates VP
Gates VP

Reputation: 45297

Your idea is fundamentally correct. I mean, as long as the language can handle command-line interpretation and support a MongoDB driver, then you could theoretically build a new MongoDB shell.

However, I regularly read through the MongoDB mailing lists and I think that you're kind of on your own for this idea right now. Hey, writing a Ruby shell for Mongo would be an awesome way to learn a lot about Mongo. However, the current Mongo community is still relatively small and no one is really complaining too much about the javascript shell.

Upvotes: 1

Related Questions