cursor_after()
Learn how to use the cursor_after() function to compare the ingestion time of the records of a table against the database cursor time.
A predicate runs over the records of a table to compare their ingestion time against a database cursor.
IngestionTime policy enabled.
Syntax
cursor_after(RHS)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| RHS | string | ✔️ | Either an empty string literal or a valid database cursor value. |
Returns
Returns a scalar value of type bool that indicates whether the record was ingested
after the database cursor RHS (true) or not (false).
Examples
The following example retrieves records ingested after a specific database cursor.
MyTable
| where cursor_after('2024-08-01T00:00:00Z')
Output
The output includes all records from MyTable that were ingested after the specified date, August 1, 2024.
Related content
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.