• Start

v1 (stable)

/

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)

Arguments

Type

Description

keystring

Specifies the name of the variable.

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

Was this page helpful?