You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be a separate command from insert-files. SQLite Archives should use a table with this schema:
CREATETABLEsqlar(
name TEXTPRIMARY KEY, -- name of the file
mode INT, -- access permissions
mtime INT, -- last modification time
sz INT, -- original file size
data BLOB -- compressed content
);
insert-files currently treats the table name as a required argument - but it's not necessary for this table. Also there shouldn't be any support for the --column option.
So if I write this command it should be this instead:
sqlite-utils sqlar files.db file.txt file2.txt
But at that point, why bother? Users can use sqlite3 files.db -Ac *.txt instead.
A
--sqlar
option could causeinsert-files
to behave in the same way as SQLite's own sqlar mechanism.https://www.sqlite.org/sqlar.html and https://sqlite.org/sqlar/doc/trunk/README.md
The text was updated successfully, but these errors were encountered: