Skip to content

Compound Index Support for GetAll Queries #75

@DreamTexX

Description

@DreamTexX

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"})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions