fields, and you canwhere.| Parameter | Type | Description |
|---|---|---|
code | string | A metadata source. |
fields | string[] | The fields of the metadata source you'd like to return. Setting "fields": ["*"] will return all valid fields for supported data types. |
where | <where> | A pseudo-SQL expression tree. Click here for information on how to generate one. |
risk | float64 | An optional risk value to assign to the layer. Only relevant when requesting risk surfaces. |
Backus-Naur Form
Simple comparisons
Logical operators
| Operator | Arity | Description |
|---|---|---|
AND | Binary or greater | A standard logical AND. All the arguments provided to the AND will be nested. |
OR | Binary or greater | A standard logical OR. All the arguments provided to the OR will be nested. |
| Operator | Arity | Description |
|---|---|---|
= | Binary | = does an equality check on the field and the passed value. Type coercion may be performed if the types are different. |
> | Binary | > checks the field is greater than the passed value. Type coercion may be performed if the types are different. |
< | Binary | < checks the field is less than the passed value. Type coercion may be performed if the types are different. |
<= | Binary | <= checks the field is less than or equal to the passed value. Type coercion may be performed if the types are different. |
>= | Binary | >= checks the field is greater than or equal to the passed value. Type coercion may be performed if the types are different. |
!= | Binary | != checks the field is not equal to the passed value. Type coercion may be performed if the types are different. |