Is it possible to run a request / command shell Mongo client from Ruby?

Can I use Mongo client shell queries / commands inside Ruby?

I know there is a Ruby DSL driver, but I was thinking of something like starting an SQL query from PHP.

Just for the sake of knowledge.

+3
source share
1 answer

You can always work directly with the Ruby driver from MongoDB. Read this tutorial for more details .

0
source

Source: https://habr.com/ru/post/1761461/


All Articles