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

Compound Index Support for GetAll Queries #75

Open
DreamTexX opened this issue Jan 15, 2024 · 0 comments
Open

Compound Index Support for GetAll Queries #75

DreamTexX opened this issue Jan 15, 2024 · 0 comments

Comments

@DreamTexX
Copy link

r.get_all does not seem to support compound indexes.

Example Code:

r.table("users").get_all(r.args((
  [id, team_id],
  get_all::Options::default().index("compound_user_team"),
)))

("compound_user_team" is an created index for the fields "id" and "team_id")

Returns no results, while the javascript equivalent returns the expected result

r.table("users").getAll([id, team_id], {index: "compound_user_team"})
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

1 participant