rethinkdb-rs
rethinkdb-rs copied to clipboard
Compound Index Support for GetAll Queries
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"})