Home > git-documentdb > GitDocumentDB > close
GitDocumentDB.close() method#
Close a database
Signature:Parameters#
| Parameter | Type | Description |
|---|---|---|
| options | DatabaseCloseOption | The options specify how to close database. |
Promise<void>
Remarks#
New CRUD operations are not available while closing.
Queued operations are executed before the database is closed unless it times out.