SurrealDB Docs Logo

Enter a search query

->unset()

Removes a parameter for this connection.

Method Syntax
$db->unset(key)

Arguments

ArgumentsDescription
key required

Specifies the name of the variable.

Example usage

// Remove the variable from the connection
$db->unset('name');

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install