sqlite3: add page (#1420)

coverage
Starbeamrainbowlabs 2017-07-03 12:41:36 +01:00 committed by GitHub
parent b6d84a6b42
commit 13a86805d9
1 changed files with 15 additions and 0 deletions

15
pages/common/sqlite3.md Normal file
View File

@ -0,0 +1,15 @@
# sqlite3
> The command-line interface to SQLite 3, which is a self-contained file-based embedded SQL engine.
- Start an interactive shell with a new database:
`sqlite3`
- Open an interactive shell against an existing database:
`sqlite3 {{path/to/database.sqlite3}}`
- Execute an SQL statement against a database and then exit:
`sqlite3 {{path/to/database.sqlite3}} '{{SELECT * FROM some_table;}}'`