File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ v1.0.0-rc.3] - 2023-10-18
99
10+ ### Added
11+
12+ - IsInListPredicate example
13+
1014### Changed
1115
1216- Fixed several issues with OpenAPI specification
Original file line number Diff line number Diff line change @@ -1144,3 +1144,34 @@ filter=ACCENTI(provider) = ACCENTI('tiburón')
11441144 }
11451145}
11461146```
1147+
1148+ ### Example 15: Using the IN List predicate
1149+
1150+ The predefined function ` IN ` allows for checking if a value is in a list of values.
1151+
1152+ #### Example 15: cql2-text (GET)
1153+
1154+ ``` text
1155+ filter=keywords IN ('fire', 'forest', 'wildfire')
1156+ ```
1157+
1158+ #### Example 15: cql2-json (POST)
1159+
1160+ ``` json
1161+ {
1162+ "filter-lang" : " cql2-json" ,
1163+ "filter" : {
1164+ "op" : " in" ,
1165+ "args" : [
1166+ {
1167+ "property" : " keywords"
1168+ },
1169+ [
1170+ " fire" ,
1171+ " forest" ,
1172+ " wildfire"
1173+ ]
1174+ ]
1175+ }
1176+ }
1177+ ```
You can’t perform that action at this time.
0 commit comments