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## [ Unreleased] - TBD
99
10+ ### Added
11+
12+ - IsInListPredicate example
13+
1014### Changed
1115
1216- Basic Spatial Operators in CQL2 now only requires BBOX and POINT support, so the text
Original file line number Diff line number Diff line change @@ -1140,3 +1140,34 @@ filter=ACCENTI(provider) = ACCENTI('tiburón')
11401140 }
11411141}
11421142```
1143+
1144+ ### Example 15: Using the IN List predicate
1145+
1146+ The predefined function ` IN ` allows for checking if a value is in a list of values.
1147+
1148+ #### Example 15: cql2-text (GET)
1149+
1150+ ``` text
1151+ filter=keywords IN ('fire', 'forest', 'wildfire')
1152+ ```
1153+
1154+ #### Example 15: cql2-json (POST)
1155+
1156+ ``` json
1157+ {
1158+ "filter-lang" : " cql2-json" ,
1159+ "filter" : {
1160+ "op" : " in" ,
1161+ "args" : [
1162+ {
1163+ "property" : " keywords"
1164+ },
1165+ [
1166+ " fire" ,
1167+ " forest" ,
1168+ " wildfire"
1169+ ]
1170+ ]
1171+ }
1172+ }
1173+ ```
You can’t perform that action at this time.
0 commit comments