-
Notifications
You must be signed in to change notification settings - Fork 5
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
It does not support 'contains' keyword in findAll() query #10
Comments
I guess the contains operator was added to jsdata, but not to the adapter.
|
Is this the adapter? Does contains need to be added here, or elsewhere? |
Needs to be added to the adapter. |
Support for |
Is there a test or example for how Survey.findAll({ where: { name: { contains: 'survey 2' } } }) ... is giving a ReQL error: ReqlLogicError: Cannot convert STRING to SEQUENCE in:
r.db("test").table("survey").filter(function(var_5) {
return var_5("name").default([]).contains("survey 2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
}) |
I believe |
That was totally it. I've since migrated to version 3 and adapted like/notLike from #12 into it, can send a PR if you'd like |
Yeah, I'd be interested at looking at your PR. |
I tried
But got
It works in
filter()
though. So it seems that the adapter does not support "contains" keyword?The text was updated successfully, but these errors were encountered: