drivers
Usage
.drivers
Description
The drivers command displays the available database drivers.
Driver | Description | URL |
---|---|---|
cockroachdb | CockroachDB driver provided by SQLx | redshift://<user>[:<password>]@<host>[:<port>]/<database> |
duckdb | DuckDB provided by DuckDB | duckdb://?<memory=true>[&file=<database_file>] |
libsql | LibSQL provided by Turso | libsql://<host>?[<memory=true>][&file=<database_file>][&auth_token=<token>] |
mariadb | MariaDB provided by SQLx | mariadb://<user>[:<password>]@<host>[:<port>]/<database> |
mysql | MySQL provided by SQLx | mysql://<user>[:<password>]@<host>[:<port>]/<database> |
postgres | PostgreSQL driver provided by rust-postgres | postgres://<user>[:<password>]@<host>[:<port>]/<database>?<embedded=true> |
postgresql | PostgreSQL driver provided by SQLx | postgresql://<user>[:<password>]@<host>[:<port>]/<database>?<embedded=true> |
redshift | Redshift driver provided by SQLx | redshift://<user>[:<password>]@<host>[:<port>]/<database> |
rusqlite | SQLite provided by Rusqlite | rusqlite://?<memory=true>[&file=<database_file>] |
snowflake | Snowflake provided by Snowflake SQL API | snowflake://<user>[:<token>]@<account>.snowflakecomputing.com/[?private_key_file=pkey_file&public_key_file=pubkey_file] |
sqlite | SQLite provided by SQLx | sqlite://?<memory=true>[&file=<database_file>] |
sqlserver | SQL Server provided by Tiberius | sqlserver://<user>[:<password>]@<host>[:<port>]/<database> |
Examples
Show the available drivers:
.drivers