Open bryansray opened 3 years ago
Maybe it's related to using OP_QUERY against "user-tasks" vs using OP_QUERY against $cmd (i.e. doing it via commands).
Thank you for the response, @deadtrickster!
Maybe it's related to using OP_QUERY against "user-tasks" vs using OP_QUERY against $cmd (i.e. doing it via commands).
Is this something I can control on my end? Or is it just a feature that this driver doesn't currently support?
@bryansray: sorry for the 'advertising' for the https://hex.pm/packages/mongodb_driver. If I remember correctly, I implemented the support for views, because I needed it myself. Maybe you can try it. I just want to help, because I stumbled across the issue.
I'm attempting to query a mongodb view with
Mongo.find(:mongo, "users-tasks", %{})
... but getting this response back.
Does this driver not support querying views? I wasn't able to find any reference to views anywhere, unfortunately.