Reference¶
--driver¶
Driver name
--uri¶
Database uniform resource identifier
--username¶
Database user username
--password¶
Database user password
--option¶
Driver-specific database option
--mode¶
Table display style
| Mode | Description |
|---|---|
ascii-full |
ASCII table with all borders |
ascii-full-condensed |
ASCII table without row dividers |
ascii-borders-only |
ASCII table with outer borders only |
ascii-borders-only-condensed |
ASCII outer borders without row spacing |
ascii-horizontal-only |
ASCII with horizontal lines only |
ascii-markdown |
Markdown-compatible table format |
ascii-no-borders |
ASCII table without any borders |
utf8-compact |
Compact UTF-8 table style (default) |
utf8-full |
UTF-8 box drawing with all borders |
utf8-full-condensed |
UTF-8 box drawing without row dividers |
utf8-borders-only |
UTF-8 with outer borders only |
utf8-horizontal-only |
UTF-8 with horizontal lines only |
utf8-no-borders |
UTF-8 table without any borders |
nothing |
No borders or lines |
--query¶
Execute query and exit
--file¶
Read and execute file and exit
--output¶
Write result to file
The output format is inferred from the file extension:
| Extension | Format |
|---|---|
.json |
JSON |
.csv |
CSV |
.arrow, .ipc |
Arrow IPC |
--help¶
Print the help message
--version¶
Print the version