SurrealDB Docs Logo

Enter a search query

->disconnect()

Closes the persistent connection to the database.

Method Syntax
$db->disconnect()

Example usage

$db->disconnect();