HomeGuidesAPI ReferenceChangelog
Log In
API Reference

FilterOperator

constants for standard filtering operators used within SearchQuery filters.

Operators

NameDescription
EQequal to a value.
NEnot equal to a value.
GTgreater than a value.
GTEgreater than or equal to a value.
LTless than a value.
LTEless than or equal to a value.
INvalue is in a list.
NINvalue is not in a list.
CONTAINSvalue contains a substring.
SEARCHfull-text search on a value.

Example

import wizata_dsapi

query = wizata_dsapi.SearchQuery(
    filters={
        "status": {wizata_dsapi.FilterOperator.EQ: "completed"},
        "name": {wizata_dsapi.FilterOperator.CONTAINS: "test"}
    },
    page=1,
    size=20
)