Querying Lists / FQM - operators, datatypes, examples
operator | description | datatype | query input | example | |
---|---|---|---|---|---|
1 | contains (regex) $regex | when character(s) anywhere within a field (with a single value) match the string provided by the user note: this operator utilizes regex, and will be replaced in the UI in Trillium | string | string
|
|
2 | contains $contains | when character(s) anywhere within a field (with a single value) match the string provided by the user note: API support for this operator was added in Sunflower, but will not be available in the UI until Trillium | string | string
|
|
3 | starts with (regex) $regex | when the first character(s) in a field (with a single value) match the string provided by the user note: this operator utilizes regex, and will be replaced in the UI in Trillium | string | string
|
|
4 | starts with $starts_with | when the first character(s) in a field (with a single value) match the string provided by the user note: API support for this operator was added in Sunflower, but will not be available in the UI until Trillium | string | string
|
|
5 | equals $eq |
|
| string
|
|
6 | not equal to $ne |
|
| string
|
|
7 | is null/empty $empty | matches when a specific field is null, or has an empty value |
| string
|
|
8 | in $in
| when a field (with a single value) matches any of the values provided by a user (the user can input multiple values) |
| array* (multiple values)
*as of the Sunflower release, there are differences between what types of user input is supported in the UI vs API
|
|
9 | not in $nin | when a field (with a single value) matches none of the values provided by a user (the user can input multiple values) |
| array* (multiple values)
*as of the Sunflower release, there are differences between what types of user input is supported in the UI vs API
|
|
10 | contains any $contains_any | returns records where a field (that can contain multiple values) matches any of values provided by a user (the user can input multiple values)
| array of:
| array* (multiple values)
*as of the Sunflower release, there are differences between what types of user input is supported in the UI vs API |
|
11 | not contain any* $not_contains_any
| return records where a field (that can contain multiple values) does not contain any of values provided by a user (the user can input multiple values)
| array of:
| array* (multiple values)
*as of the Sunflower release, there are differences between what types of user input is supported in the UI vs API |
|
12 | contains all $contains_all | returns records where a field (that can contain multiple values) matches all of values provided by a user (the user can input multiple values) | array of:
| array* (multiple values)
*as of the Sunflower release, there are differences between what types of user input is supported in the UI vs API |
|
13 | not contains all $not_contains_all | returns records where a field (that can contain multiple values) does not contain all of values provided by a user (the user can input multiple values) | array of:
| array* (multiple values)
|
|