Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to find an inherited method for function ‘dbGetQuery’ for signature ‘"RMongo", "character"’ #45

Open
EnricowithR opened this issue Nov 21, 2016 · 1 comment

Comments

@EnricowithR
Copy link

I have been running the following query correctly:
json<- '{"deleted_at": null}'
emails <- dbGetQuery(conn.rmongo, "emails",json, skip=0, limit=1000000000000000)

but today, without having done any change I get the following error:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘dbGetQuery’ for signature ‘"RMongo", "character"’

What do you suggest?

@kheaactua
Copy link

I wrote a comment about that https://stackoverflow.com/questions/22395772/optional-arguments-in-s4-generics. For me, this was because I have to dbGetQuery functions in scope, one from RSQLite, and one from RMongo, and the former was being called. To fix it, prefix it with the RMongo namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants