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

.without() not working on arrays #6665

Open
nickanna42 opened this issue May 18, 2018 · 3 comments
Open

.without() not working on arrays #6665

nickanna42 opened this issue May 18, 2018 · 3 comments

Comments

@nickanna42
Copy link

Given the following line
r.table('sampleTable').get('1234')('propretyThatIsArray').coerceTo('array').without(['dont_want'])
over the web admin interface, I am getting a
e: Cannot perform without on a non-object non-sequence "first_item_in_array"

This is contrary to the documentation here , which states that the .without() command should work in this context

@nickanna42
Copy link
Author

Temporary work-around is to use .filter() as opposed to .without()

@nickanna42
Copy link
Author

Different issue entirely. The item Im fetching with .get('1234') is confirmed to exist

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