SurrealDB Docs Logo

Enter a search query

.close()

Closes the persistent connection to the database.

Method Syntax
db.close()

Example usage

db.close();

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install