From 9f5371b652dbf96840a541959ad2e42ac810f52e Mon Sep 17 00:00:00 2001 From: sana-malik Date: Mon, 10 Jun 2024 15:15:00 -0400 Subject: [PATCH] Fix typo for querying arrays Left side of the operator is omitted, not right. --- SYNTAX.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SYNTAX.md b/SYNTAX.md index a3f0fac..834c4d4 100644 --- a/SYNTAX.md +++ b/SYNTAX.md @@ -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"