change_id

Returns the current change Id for the running query. The return value will be nil if the query does not require a change.

This function does not generate a change.

Function

change_id()

Arguments

None

Return value

The current change Id or nil when the query does not require a change.

Example

Example using change_id():

change_id();  // nil, since no change is required

Return value in JSON format

null

Using change_id() when the query does require an change:

wse(change_id());  // `wse` enforces a change

Example return value in JSON format

2593159