CLI Current database: %1 No current working database is set. Type %1 for help Database passed in command line parameters (%1) was already on the list under name: %2 Could not add database %1 to list. closed CliCommand Usage: %1%2 CliCommandAdd Could not add database %1 to list. Database added: %1 adds new database to the list Adds given database pointed by <path> with given <name> to list the databases list. The <name> is just a symbolic name that you can later refer to. Just pick any unique name. For list of databases already on the list use %1 command. name CLI command syntax path CLI command syntax CliCommandCd Changed directory to: %1 Could not change directory to: %1 changes current working directory Very similar command to 'cd' known from Unix systems and Windows. It requires a <path> argument to be passed, therefore calling %1 will always cause a change of the directory. To learn what's the current working directory use %2 command and to list contents of the current working directory use %3 command. path CLI command syntax CliCommandClose Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3. Connection to database %1 closed. No such database: %1. Use %2 to see list of known databases. closes given (or current) database Closes database connection. If the database was already closed, nothing happens. If <name> is provided, it should be name of the database to close (as printed by %1 command). The the <name> is not provided, then current working database is closed (see help for %2 for details). name CLI command syntax CliCommandDbList No current working database defined. Databases: Name CLI db name column Open CLI connection state column Closed CLI connection state column Connection CLI connection state column Database file path prints list of registered databases Prints list of databases registered in the SQLiteStudio. Each database on the list can be in open or closed state and %1 tells you that. The current working database (aka default database) is also marked on the list with '*' at the start of its name. See help for %2 command to learn about the default database. CliCommandDesc No working database is set. Call %1 command to set working database. Call %2 to see list of all databases. Database is not open. Cannot find table named: %1 shows details about the table table Table: %1 Column name Data type Constraints Virtual table: %1 Construction arguments: No construction arguments were passed for this virtual table. CliCommandDir lists directories and files in current working directory This is very similar to 'dir' command known from Windows and 'ls' command from Unix systems. You can pass <pattern> with wildcard characters to filter output. pattern CliCommandExit quits the application Quits the application. Settings are stored in configuration file and will be restored on next startup. CliCommandHelp shows this help message Use %1 to learn about certain commands supported by the command line interface (CLI) of the SQLiteStudio. To see list of supported commands, type %2 without any arguments. When passing <command> name, you can skip special prefix character ('%3'). You can always execute any command with exactly single '--help' option to see help for that command. It's an alternative for typing: %1 <command>. command CLI command syntax No such command: %1 Type '%1' for list of available commands. Usage: %1%2 Aliases: %1 CliCommandHistory Current history limit is set to: %1 prints history or erases it When no argument was passed, this command prints command line history. Every history entry is separated with a horizontal line, so multiline entries are easier to read. When the -c or --clear option is passed, then the history gets erased. When the -l or --limit option is passed, it sets the new history entries limit. It requires an additional argument saying how many entries do you want the history to be limited to. Use -ql or --querylimit option to see the current limit value. number Console history erased. Invalid number: %1 History limit set to %1 CliCommandMode Current results printing mode: %1 Invalid results printing mode: %1 New results printing mode: %1 tells or changes the query results format When called without argument, tells the current output format for a query results. When the <mode> is passed, the mode is changed to the given one. Supported modes are: - CLASSIC - columns are separated by a comma, not aligned, - FIXED - columns have equal and fixed width, they always fit into terminal window width, but the data in columns can be cut off, - COLUMNS - like FIXED, but smarter (do not use with huge result sets, see details below), - ROW - each column from the row is displayed in new line, so the full data is displayed. The CLASSIC mode is recommended if you want to see all the data, but you don't want to waste lines for each column. Each row will display full data for every column, but this also means, that columns will not be aligned to each other in next rows. The CLASSIC mode also doesn't respect the width of your terminal (console) window, so if values in columns are wider than the window, the row will be continued in next lines. The FIXED mode is recommended if you want a readable output and you don't care about long data values. Columns will be aligned, making the output a nice table. The width of columns is calculated from width of the console window and a number of columns. The COLUMNS mode is similar to FIXED mode, except it tries to be smart and make columns with shorter values more thin, while columns with longer values get more space. First to shrink are columns with longest headers (so the header names are to be cut off as first), then columns with the longest values are shrinked, up to the moment when all columns fit into terminal window. ATTENTION! The COLUMNS mode reads all the results from the query at once in order to evaluate column widhts, therefore it is dangerous to use this mode when working with huge result sets. Keep in mind that this mode will load entire result set into memory. The ROW mode is recommended if you need to see whole values and you don't expect many rows to be displayed, because this mode displays a line of output per each column, so you'll get 10 lines for single row with 10 columns, then if you have 10 of such rows, you will get 100 lines of output (+1 extra line per each row, to separate rows from each other). CliCommandNullValue Current NULL representation string: %1 tells or changes the NULL representation string If no argument was passed, it tells what's the current NULL value representation (that is - what is printed in place of NULL values in query results). If the argument is given, then it's used as a new string to be used for NULL representation. CliCommandOpen Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3. Could not add database %1 to list. File %1 doesn't exist in %2. Cannot open inexisting database with %3 command. To create a new database, use %4 command. Database %1 has been open and set as the current working database. opens database connection Opens connection to the database. If no additional argument was passed, then the connection is open to the current default database (see help for %1 for details). However if an argument was passed, it can be either <name> of the registered database to open, or it can be <path> to the database file to open. In the second case, the <path> gets registered on the list with a generated name, but only for the period of current application session. After restarting application such database is not restored on the list. name CLI command syntax path CLI command syntax CliCommandPwd prints the current working directory This is the same as 'pwd' command on Unix systems and 'cd' command without arguments on Windows. It prints current working directory. You can change the current working directory with %1 command and you can also list contents of the current working directory with %2 command. CliCommandRemove No such database: %1 Database removed: %1 New current database set: removes database from the list Removes <name> database from the list of registered databases. If the database was not on the list (see %1 command), then error message is printed and nothing more happens. name CLI command syntax CliCommandSql No working database is set. Call %1 command to set working database. Call %2 to see list of all databases. Database is not open. executes SQL query This command is executed every time you enter SQL query in command prompt. It executes the query on the current working database (see help for %1 for details). There's no sense in executing this command explicitly. Instead just type the SQL query in the command prompt, without any command prefixed. sql CLI command syntax Too many columns to display in %1 mode. Row %1 Query execution error: %1 CliCommandTables No such database: %1. Use %2 to see list of known databases. Cannot call %1 when no database is set to be current. Specify current database with %2 command or pass database name to %3. Database %1 is closed. Database Table prints list of tables in the database Prints list of tables in given <database> or in the current working database. Note, that the <database> should be the name of the registered database (see %1). The output list includes all tables from any other databases attached to the queried database. When the -s option is given, then system tables are also listed. database CLI command syntax CliCommandTree No current working database is selected. Use %1 to define one and then run %2. Tables Views Columns Indexes Triggers prints all objects in the database as a tree Prints all objects (tables, indexes, triggers and views) that are in the database as a tree. The tree is very similar to the one that you can see in GUI client of the SQLiteStudio. When -c option is given, then also columns will be listed under each table. When -s option is given, then also system objects will be printed (sqlite_* tables, autoincrement indexes, etc). The database argument is optional and if provided, then only given database will be printed. This is not a registered database name, but instead it's an internal SQLite database name, like 'main', 'temp', or any attached database name. To print tree for other registered database, call %1 first to switch the working database, and then use %2 command. CliCommandUse No current database selected. Current database: %1 No such database: %1 changes default working database Changes current working database to <name>. If the <name> database is not registered in the application, then the error message is printed and no change is made. What is current working database? When you type a SQL query to be executed, it is executed on the default database, which is also known as the current working database. Most of database-related commands can also work using default database, if no database was provided in their arguments. The current database is always identified by command line prompt. The default database is always defined (unless there is no database on the list at all). The default database can be selected in various ways: - using %1 command, - by passing database file name to the application startup parameters, - by passing registered database name to the application startup parameters, - by restoring previously selected default database from saved configuration, - or when default database was not selected by any of the above, then first database from the registered databases list becomes the default one. name CLI command syntax QObject Insufficient number of arguments. Too many arguments. Invalid argument value: %1. Expected one of: %2 Unknown option: %1 CLI command syntax Option %1 requires an argument. CLI command syntax string CLI command syntax Command line interface to SQLiteStudio, a SQLite manager. Enables debug messages on standard error output. Enables Lemon parser debug messages for SQL code assistant. Lists plugins installed in the SQLiteStudio and quits. file Database file to open