Closed WesleyAC closed 2 years ago
I will look into this. In the meantime you can use .open filename.db
to open a database after you've launched litecli.
Looks like an active connection is required in order to run the ATTACH DATABASE command. I don't see a way to work around this requirement. For now you can use .open
to attach the first database and then run the ATTACH statement as usual.
If I run
litecli
with no arguments, and then runATTACH DATABASE 'db.sqlite3' AS db;
I get the resultNot connected to database.
, and cannot query the database. This is in contrast to thesqlite3
CLI, which does support this.Could support for this be added?