mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 17:34:32 +02:00
Add sqlite-utils memory to the README, refs #272
This commit is contained in:
parent
00e4bd5ff1
commit
1091a9cbd8
1 changed files with 5 additions and 1 deletions
|
|
@ -57,7 +57,11 @@ You can import JSON data into a new database table like this:
|
|||
|
||||
Or for data in a CSV file:
|
||||
|
||||
$ sqlite-utils insert dogs.db dogs docs.csv --csv
|
||||
$ sqlite-utils insert dogs.db dogs dogs.csv --csv
|
||||
|
||||
`sqlite-utils memory` lets you import CSV or JSON data into an in-memory database and run SQL queries against it in a single command:
|
||||
|
||||
$ cat dogs.csv | sqlite-utils memory - "select name, age from dogs"
|
||||
|
||||
See the [full CLI documentation](https://sqlite-utils.datasette.io/en/stable/cli.html) for comprehensive coverage of many more commands.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue