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

Query Parser: Array Operations #4269

Closed
ironage opened this issue Jan 9, 2021 · 1 comment
Closed

Query Parser: Array Operations #4269

ironage opened this issue Jan 9, 2021 · 1 comment
Assignees

Comments

@ironage
Copy link
Contributor

ironage commented Jan 9, 2021

  • array[index]: specifies the element at the specified index in the array.
  • array[FIRST]: secifies the first element in the array.
  • array[LAST]: specifies the last element in the array.
  • array[SIZE]: specifies the size of the array.

Let’s say we have a person with many dogs. index should be replaced with a number which will return the dog that you want to check against. Here we’re checking if the first dog’s age is 5.
dogs[0].age = 5
Here we’re checking if a person has 3 dogs
dogs[SIZE] = 3

Part of #2978

@jedelbo
Copy link
Contributor

jedelbo commented Aug 9, 2023

Fixed by #6854

@jedelbo jedelbo closed this as completed Aug 9, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants