Could I use the Mongo client shell queries/commands from inside Ruby?
I know there is the Ruby driv开发者_运维知识库er DSL, but I was thinking about something similar to running a SQL query from within PHP.
Just for the sake of knowing.
You can always work directly with the MongoDB Ruby driver. Read this tutorial for more information.
精彩评论