Method USqlStatement():detachDatabase() Foundation

Detaches a SQLite database.

Syntax
:detachDatabase( <cSchema> ) -> self
Parameters
<cSchema>
Schema name of the database to detach.
Return

Returns self.

Description

Detaches a SQLite database from the embedded SQLite engine. Detaching a database via :detachDatabase() leaves the current state/data of the global in-memory database intact.

This method raises a runtime error when detaching the database fails due to an invalid schema name.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.