JsonbFilter
Last edit: Nov 10, 2026
Conditions on a JSON object field, such as metadata. All operators given in one
filter must match (they are combined with AND); when a list of filters is given,
every filter must match as well
type JsonbFilter {
attribute: JsonbAttributeFilter
attributes: [JsonbAttributeFilter!]
contains: String
exclude: Boolean
has_key: String
}
Fields
attribute (JsonbAttributeFilter)
Condition on the value of a single top-level key
attributes (JsonbAttributeFilter)
Conditions on the values of top-level keys; all of them must match
contains (String)
Matches when the JSON, serialized as text (keys included), contains the given
text; case insensitive. % and _ act as wildcards
exclude (Boolean)
When true, each condition in this filter is negated, so records matching any
of them are left out. Combined with a not_ operator of an attribute, the two
negations cancel out
has_key (String)
Matches when the JSON object has the given top-level key