mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
parent
42ec59d8ee
commit
7684bbf097
3 changed files with 59 additions and 2 deletions
|
|
@ -281,6 +281,12 @@ To read from standard input, use ``-`` as the filename - then use ``stdin`` or `
|
|||
|
||||
$ cat example.csv | sqlite-utils memory - "select * from stdin"
|
||||
|
||||
Incoming CSV data will be assumed to use ``utf-8``. If your data uses a different character encoding you can specify that with ``--encoding``::
|
||||
|
||||
$ cat example.csv | sqlite-utils memory - "select * from stdin" --encoding=latin-1
|
||||
|
||||
If you are joining across multiple CSV files they must all use the same encoding.
|
||||
|
||||
.. _cli_query_memory_attach:
|
||||
|
||||
Joining in-memory data against existing databases using \-\-attach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue