Next: , Up: starter-db   [Contents]


3.1.1 Invoking

starter-db [connect-opts] [-c 'stmt; …'] [-f file] [--format=fmt]
--host / --port / --user / --password / --database

Initial connection seeds (see Connection).

--format=fmt

table (default), csv, json, or xml.

-c stmt

Run statements and exit (batch, fail-fast).

-f file

Run statements from a file.

-V / --version

Print version and license blurb; no connect.

--help

Option help (gettext).

With no -c/-f and a TTY on stdin, the tool enters an interactive REPL (prompt ‘starter-db>’). Redirected stdin is batch mode.