Simple, with the mongo cli:

db.version ()

How can I do the same with mongoose? How can I send a custom command?

Edit
Report