mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-24 09:54:31 +02:00
Test and docs for using :memory: as a filename
This commit is contained in:
parent
d5e1f8ac77
commit
eb39c84a8f
2 changed files with 19 additions and 0 deletions
|
|
@ -55,6 +55,11 @@ If you want to pretty-print the output further, you can pipe it through ``python
|
|||
}
|
||||
]
|
||||
|
||||
You can run queries against a temporary in-memory database by passing ``:memory:`` as the filename::
|
||||
|
||||
$ sqlite-utils :memory: "select sqlite_version()"
|
||||
[{"sqlite_version()": "3.29.0"}]
|
||||
|
||||
.. _cli_json_values:
|
||||
|
||||
Nested JSON values
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue