We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I run following query:
r.table('users').count(r.row['email'] != 'test').run()
I expect it to behave the same as:
r.table('users').filter(r.row['email'] != 'test').count().run()
But it's not, as inside count function filter == () condition evaluates to true (non emtpy eq query) and count runs without filter.
This works fine:
r.table.count(lambda user: user['email'] != 'test).run()
The text was updated successfully, but these errors were encountered:
Thanks for reporting this! We're probably missing a func_wrap somewhere in the Python driver. Assigning to @Tryneus .
Sorry, something went wrong.
Tryneus
Successfully merging a pull request may close this issue.
When I run following query:
I expect it to behave the same as:
But it's not, as inside count function filter == () condition evaluates to true (non emtpy eq query) and count runs without filter.
This works fine:
The text was updated successfully, but these errors were encountered: