databaseList

Queries a list of all attached databases.

This pragma returns a cursor with three columns for each attached database:

  • seq: The sequence number of the database (0 for main, 1 for temp, etc.).

  • name: The name used to attach the database (e.g., main).

  • file: The path to the database file, or an empty string for in-memory databases.

Author

MOHAMMAD AZIM ANSARI

See also