Skip to main content

Text

Definition

A text value, represented as a string of characters. The "text" type can include any characters, including letters, numbers, symbols, and whitespace.

dimension product_name {
label: "Product Name"
type: "text"
}

Text Operator

OperatorExampleDescription
==

is
products.name == 'Dandelion'

products.name is 'Dandelion'
Equal to
!=

is not
products.name != 'Rock'

products.name is not 'Rock'
Not equal to
likeproducts.name like '%Dan'Match the pattern specified
not likeproducts.name not like '%Dan'Not match the pattern specified
ilikeproducts.name ilike '%dan'Match the pattern specified, case insensitive
not ilikeproducts.name not ilike '%dan'Not match the pattern specified, case insensitive
is nullproducts.name is nullInclude if the value is null
not nullproducts.name not nullInclude if the value is not null
inproducts.name in ['Dandelion', 'Rock']Include if the value is in the list
not inproducts.name not in ['Dandelion', 'Rock']Include if the value is not in the list

Let us know what you think about this document :)