Skip to content

Commit 11b4851

Browse files
committed
add explanation on single quote and back ticks wrapping
1 parent 220db2d commit 11b4851

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/docs/developer-resources/rest-apis/v3-where-clause.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,17 @@ See [rest api](/docs/developer-resources/rest-apis#logical-operators)
1919

2020
## Wrapping with Quotes
2121

22-
The v3 `where` clause allows values to be wrapped with quotes to safely use special characters that might otherwise break older version `where` clauses. This is particularly useful for strings containing commas, parentheses, or other delimiters.
22+
The v3 `where` clause allows values to be wrapped with quotes (double quotes, single quotes, or backticks) to safely use special characters that might otherwise break older version `where` clauses. This is particularly useful for strings containing commas, parentheses, or other delimiters.
2323

2424
**Example:** Searching for a phrase with special characters:
2525
`("My Field", "like", "Let's come home, and go straight to bed")`
2626

2727
**Another Example:** Searching for a value that includes a comma:
2828
`("Product Name", "=", "Laptop, 15-inch")`
2929

30+
**Example:** Using single quotes for a value:
31+
`('City', '=', 'New York')`
32+
3033
## Usage on v2 API
3134

3235
The v3 `where` clause can also be utilized when using the v2 API by prepending the `where` clause with an `@` sign. This allows you to leverage the advanced capabilities of the v3 `where` clause even in v2 API calls.

0 commit comments

Comments
 (0)