mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 04:46:42 +00:00
Update cheatsheets
This commit is contained in:
21
sqlite3
Normal file
21
sqlite3
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sqlite3
|
||||
|
||||
> The command-line interface to SQLite 3, which is a self-contained file-based embedded SQL engine.
|
||||
> More information: <https://sqlite.org>.
|
||||
|
||||
- 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;}}'`
|
||||
Reference in New Issue
Block a user