package require SpecTclDB ?1.0? DBTcl create filename set instance [DBTcl connect filename]
The DBTcl command has two subcommands:
Accepts a filename as an argument. If the file specified does not exist, it is created. Regardless the file is opened as an SQLite3 database and the schema needed to store savesets and their objects created.
Accepts a filename as an argument. The file is opened as an SQLite3 database and tests are done to ensure that appropriate schema are present. A database instance command is generated (see the Database Instance reference page) and returned as the value of the command.