Skip to content

Commit

Permalink
update operator
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Jul 19, 2023
1 parent e6b6336 commit f2c92c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion titiler/pgstac/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@

from titiler.core.resources.enums import MediaType

# ref: https://github.com/stac-api-extensions/query
# TODO: add "startsWith", "endsWith", "contains", "in"
Operator = Literal["eq", "ne", "lt", "lte", "gt", "gte"]
Operator = Literal["eq", "neq", "lt", "lte", "gt", "gte"]

# ref: https://github.com/radiantearth/stac-api-spec/tree/master/fragments/filter#get-query-parameters-and-post-json-fields
FilterLang = Literal["cql-json", "cql-text", "cql2-json"]
Expand Down

0 comments on commit f2c92c9

Please sign in to comment.