mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-31 05:44:25 +01:00
docs/manual: Document some shell commands
This commit is contained in:
@@ -8,6 +8,7 @@ Welcome to Turso database manual!
|
||||
* [Getting Started](#getting-started)
|
||||
* [Limitations](#limitations)
|
||||
* [The SQL shell](#the-sql-shell)
|
||||
* [Shell commands](#shell-commands)
|
||||
* [Command line options](#command-line-options)
|
||||
* [The SQL language](#the-sql-language)
|
||||
* [`ALTER TABLE` — change table definition](#alter-table--change-table-definition)
|
||||
@@ -102,6 +103,15 @@ turso> SELECT 'hello, world';
|
||||
hello, world
|
||||
```
|
||||
|
||||
### Shell commands
|
||||
|
||||
The shell supports commands in addition to SQL statements. The commands start with a dot (".") followed by the command. The supported commands are:
|
||||
|
||||
| Command | Description |
|
||||
|---------|-------------|
|
||||
| `.schema` | Display the database schema |
|
||||
| `.dump` | Dump database contents as SQL statements |
|
||||
|
||||
### Command line options
|
||||
|
||||
The SQL shell supports the following command line options:
|
||||
|
||||
Reference in New Issue
Block a user