Skip to content

Commit 7929f63

Browse files
Update src/api/public-api/query-language.md
Co-authored-by: Sharon Adewusi <[email protected]>
1 parent 9552e8f commit 7929f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/public-api/query-language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The following tables list the query languages's available functions.
9191
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
9292
| Syntax | `literal({a: Any})` <br> `a` - the value to treat as a literal expression |
9393
| Operations allowed in call-chain | None allowed; typically used within another function, like a comparison (with syntactic sugar, this would appear on the right side of the comparison). The outer function or comparison dictates the operations allowed in the call-chain. |
94-
| Notes | Literals can be `int`s, `float`s, `string`s, `date`s or `timestamp`s, where `date`s use the format `yyyy-mm-dd` and `timestamp`s follow ISO 8601 format. Note that in general `string` is interchangeable with all other formats, except when used in a `property` chained to an `entity`. In this case, we recommend matching the data type of the entity property being targeted. |
94+
| Notes | Literals can be `int`, `float`, `string`, `date` or `timestamp`, where `date` uses the format `yyyy-mm-dd` and `timestamp` follows the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601){:target="_blank"} format. `string` is generally interchangeable with all other formats, except when used in a `property` chained to an `entity`. In this case, Segment recommends matching the data type of the entity property being targeted. |
9595
| Example | `literal(100)` or `literal('value')` or `literal(2022-10-17T00:00:00)` |
9696

9797

0 commit comments

Comments
 (0)