mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
sqlite-utils memory --help now mentions --schema
This commit is contained in:
parent
8981b9c1f3
commit
8286a66413
1 changed files with 4 additions and 0 deletions
|
|
@ -1212,6 +1212,10 @@ def memory(
|
|||
cat animals.csv | sqlite-utils memory stdin:csv places.dat:nl \\
|
||||
"select * from stdin where place_id in (select id from places)"
|
||||
|
||||
Use --schema to view the SQL schema of any imported files:
|
||||
|
||||
\b
|
||||
sqlite-utils memory animals.csv --schema
|
||||
"""
|
||||
db = sqlite_utils.Database(memory=True)
|
||||
# If --dump or --save used but no paths detected, assume SQL query is a path:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue