KILL statement
The KILL statement is used to terminate a running live query.
While the KILL statement does accept a value type, this value must resolve to a UUID. Consequently, it will accept a string literal of a UUID or a param.
Statement syntax
Example usage
Basic usage
The KILL statement expects the UUID of a running live select query to be passed. This UUID can be found in the output of the LIVE statement, and can thereafter be passed into a KILL statement once it is no longer needed.
The KILL statement also allows for parameters to be used.
Using the KILL statement on a UUID that does not correspond to a running live query will generate an error.
Kill notifications
A separate notification is sent out when a KILL statement is enacted on a live query ID.