SurrealDB Docs Logo

Enter a search query

->disconnect()

Closes the persistent connection to the database.

Method Syntax
$db->disconnect()

Example usage

$db->disconnect();

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install