Skip to content

Commit

Permalink
sm
Browse files Browse the repository at this point in the history
  • Loading branch information
nezaj committed Nov 26, 2024
1 parent e9a9c63 commit b49ece3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client/www/pages/docs/instaql.md
Original file line number Diff line number Diff line change
Expand Up @@ -874,11 +874,11 @@ The `where` clause supports `$like` on fields that are indexed with a checked `s
`$like` queries will return entities that match a case-insensitive substring of the provided value for the field. Here's how you can do queries like `startsWith`, `endsWith` and `includes`.
| Example | Description | JS equivalent |
| :-----------------------: | :------------------: | :-----------: |
| `{ $like: "Get%" }` | Starts with 'Get' | `startsWith` |
| `{ $like: "%promoted!" }` | Ends with 'promoted' | `endsWith` |
| `{ $like: "%fit%" }` | Contains 'fit' | `includes` |
| Example | Description | JS equivalent |
| :-----------------------: | :-------------------: | :-----------: |
| `{ $like: "Get%" }` | Starts with 'Get' | `startsWith` |
| `{ $like: "%promoted!" }` | Ends with 'promoted!' | `endsWith` |
| `{ $like: "%fit%" }` | Contains 'fit' | `includes` |
Here's how you can use `$like` to find all goals that end with the word
Expand Down

0 comments on commit b49ece3

Please sign in to comment.