Skip to content

Commit 60b848e

Browse files
committed
docs: reword for clarity
1 parent 26c7377 commit 60b848e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

SUPABASE.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ SELECT * FROM users WHERE eql_v1.like(encrypted_email, $1)
5454

5555
The EQL `eql_v1.like` and `eql_v1.ilike` functions are equivalent.
5656

57-
The behaviour of the "match" index term that is used by the encrypted `LIKE` operators is slightly different to default PostgreSQL.
57+
The behaviour of EQL's encrypted `LIKE` operators is slightly different to the behaviour of PostgreSQL's `LIKE` operator.
58+
In EQL, the `LIKE` operator can be used on `match` indexes.
5859
Case sensitivity is determined by the [index term configuration](./docs/reference/INDEX.md#options-for-match-indexes-opts) of `match` indexes.
5960
A `match` index term can be configured to enable case sensitive searches with token filters (for example, `downcase` and `upcase`).
60-
The data is encrypted based on the configuration.
61-
The `LIKE` operation is always the same, and the data is different.
61+
The data is encrypted based on the index term configuration.
62+
The `LIKE` operation is always the same, even if the data is tokenised differently.
6263
The different operators are kept to preserve the semantics of SQL statements in client applications.
6364

6465
### `ORDER BY`

0 commit comments

Comments
 (0)