cursor_current()

Learn how to use the cursor_current() function to return a string type value.

Retrieves the current value of the cursor of the database in scope.

Syntax

cursor_current()

Returns

Returns a single value of type string that encodes the current value of the cursor of the database in scope.

Examples

The following example retrieves the current cursor value for the database.

// Retrieve the current cursor value for the database
print CurrentCursor = cursor_current() 

Output

CurrentCursor
2024-08-01T12:00:00Z

The output includes the current cursor value for the database, which is 2024-08-01T12:00:00Z.