Fix typo for querying arrays

Left side of the operator is omitted, not right.
This commit is contained in:
sana-malik 2024-06-10 15:15:00 -04:00 committed by GitHub
parent c2bc5a409a
commit 9f5371b652
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ friends.#(first%"D*").last "Murphy"
friends.#(first!%"D*").last "Craig"
```
To query for a non-object value in an array, you can forgo the string to the right of the operator.
To query for a non-object value in an array, you can forgo the string to the left of the operator.
```go
children.#(!%"*a*") "Alex"