Skip to main content

Module attach

Module attach 

Source
Expand description

ATTACH/DETACH database schema registry (§12.11, bd-7pxb).

Each attached database gets a schema namespace. Tables are accessible as schema-name.table-name. The main database is always main, the temp database is always temp. Maximum 10 attached databases (SQLITE_MAX_ATTACHED).

Structs§

AttachedDb
Metadata for a single attached database.
SchemaRegistry
Registry of attached databases for a connection.

Constants§

SQLITE_MAX_ATTACHED
Maximum number of attached databases (not counting main and temp).