Skip to content

Commit

Permalink
feat(graphql): support filtering based on greater than/less than crit…
Browse files Browse the repository at this point in the history
…eria (datahub-project#9001)

Co-authored-by: Indy Prentice <indy@Indys-MacBook-Pro.local>
  • Loading branch information
iprentic and Indy Prentice committed Oct 13, 2023
1 parent c2e8041 commit 78b342f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions datahub-graphql-core/src/main/resources/search.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,26 @@ enum FilterOperator {
Represents the relation: The field exists. If the field is an array, the field is either not present or empty.
"""
EXISTS

"""
Represent the relation greater than, e.g. ownerCount > 5
"""
GREATER_THAN

"""
Represent the relation greater than or equal to, e.g. ownerCount >= 5
"""
GREATER_THAN_OR_EQUAL_TO

"""
Represent the relation less than, e.g. ownerCount < 3
"""
LESS_THAN

"""
Represent the relation less than or equal to, e.g. ownerCount <= 3
"""
LESS_THAN_OR_EQUAL_TO
}

"""
Expand Down

0 comments on commit 78b342f

Please sign in to comment.