File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,12 @@ SELECT * FROM users WHERE eql_v1.like(encrypted_email, $1)
54
54
55
55
The EQL ` eql_v1.like ` and ` eql_v1.ilike ` functions are equivalent.
56
56
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.
58
59
Case sensitivity is determined by the [ index term configuration] ( ./docs/reference/INDEX.md#options-for-match-indexes-opts ) of ` match ` indexes.
59
60
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 .
62
63
The different operators are kept to preserve the semantics of SQL statements in client applications.
63
64
64
65
### ` ORDER BY `
You can’t perform that action at this time.
0 commit comments