SurrealDB Docs Logo

Enter a search query

.kill()

Kills a running live query by it’s UUID

Method Syntax
db.kill(queryUuid)

Arguments

ArgumentsDescription
queryUuid required

The UUID of the live query you wish to kill

Example usage

await db.kill(queryUuid)