SQLite
Connect
Section titled “Connect”A path opens a SQLite file that exists:
usql books.dbTo make a new file, name the scheme, such as sq::
usql sq:books.dbSchemes and aliases
Section titled “Schemes and aliases”| Scheme | Aliases | Go driver | Notes |
|---|---|---|---|
sqlite3 | sq, sqlite | github.com/mattn/go-sqlite3 | The rest of the URL is a path, as in sqlite3:file. usql also opens its files from a path alone, and with file:. The driver needs cgo. |
moderncsqlite | mq, modernsqlite | modernc.org/sqlite | The rest of the URL is a path, as in moderncsqlite:file. |