Add sqlite-utils memory to the README, refs #272

This commit is contained in:
Simon Willison 2021-06-18 20:14:12 -07:00
commit 1091a9cbd8

View file

@ -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.