Skip to main content

DOT_COMMANDS

Constant DOT_COMMANDS 

Source
pub const DOT_COMMANDS: &str = "\
.bail on|off             stop after the first error
.databases               list the attached databases
.echo on|off             print each statement before running it
.exit                    exit the shell
.headers on|off          turn column names on or off
.help                    print this
.mode MODE ?TABLE?       set the output mode
.nullvalue TEXT          set what a null prints as
.open FILENAME           close the current database and open another
.output ?FILENAME?       send output to a file, or back to stdout
.print TEXT...           print the text
.quit                    exit the shell
.read FILENAME           run a file of SQL
.schema ?PATTERN?        show the CREATE TABLE for the tables
.separator COL ?ROW?     set the separators used in the separated modes
.show                    show the current settings
.tables ?PATTERN?        list the tables
.timer on|off            print how long each statement took
";
Expand description

What .help prints.