• Start

Languages

/

PHP

/

Methods

unset

The ->unset() method for the SurrealDB SDK for PHP removes a parameter from the connection.

Removes a parameter for this connection.

Method Syntax

$db->unset($key)
ArgumentsTypeDescription
key string Specifies the name of the variable.
// Remove the variable from the connection
$db->unset('name');

Was this page helpful?