Skip to content

Commit fdd3fdd

Browse files
authored
Update query-language.md
1 parent 0bc68a2 commit fdd3fdd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,14 @@ The following tables list the query languages's available functions.
127127
| Description | You can add a prefix to direct the evaluation to be relative to the timestamp of a different event. |
128128
| Example | `between(7 days, 10 days)` |
129129

130+
| `expires_after` | |
131+
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
132+
| Syntax | `expires_after({d: Integer} {u: TimeUnit})`<br>`d` - duration value<br>u - second (s) hour (s) day (s)<br> |
133+
| Return Type | `WindowedFilter` |
134+
| Description | You can add a prefix to direct the evaluation to be relative to the timestamp of a different event. |
135+
| Notes | `expires_after` is meant to be used with Computed Traits in order to handle session windows. |
136+
| Example | `expires_after(1 hour)` |
137+
130138

131139
### Reducers
132140

0 commit comments

Comments
 (0)