Skip to content

Commit ee85a20

Browse files
* #177: Improved the API documentation for LIKE and REGEXP_LIKE. (#179)
1 parent 6ae8cba commit ee85a20

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

doc/changes/changes_12.1.0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ Code name: New capabilities and updates in the API
1717

1818
## Documentation
1919

20-
* #159: Added the API documentation fixes.
20+
* #159: Added the API documentation fixes.
21+
* #177: Improved the API documentation for LIKE and REGEXP_LIKE.

doc/development/api/virtual_schema_api.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ The same can be used for `predicate_is_null`, `predicate_is_not_null`.
952952

953953
The same can be used for `predicate_notequal`, `predicate_less` and `predicate_lessequal`.
954954

955-
##### LIKE / REGEXP_LIKE
955+
##### LIKE
956956

957957
```json
958958
{
@@ -963,14 +963,28 @@ The same can be used for `predicate_notequal`, `predicate_less` and `predicate_l
963963
"pattern": {
964964
...
965965
},
966-
"escapeChar": "%"
966+
"escapeChar": {
967+
...
968+
}
967969
}
968970
```
969971

970-
The same can be used for `predicate_like_regexp`.
972+
Notes:
973+
* `escapeChar` is optional.
971974

972-
Notes
973-
* **escapeChar** is optional
975+
##### REGEXP_LIKE
976+
977+
```json
978+
{
979+
"type": "predicate_like_regexp",
980+
"expression": {
981+
...
982+
},
983+
"pattern": {
984+
...
985+
}
986+
}
987+
```
974988

975989
##### BETWEEN
976990

0 commit comments

Comments
 (0)