[yunqa.de] Re: Accessing sqlar and zipfile functions

  • From: Tom Holden <ve3meo@xxxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Sat, 2 Mar 2019 17:14:40 -0500

On Sat, Mar 2, 2019 at 4:16 AM Delphi Inspiration <delphi@xxxxxxxx> wrote:

On 01.03.2019 20:37, Tom Holden wrote:
3. The addition of these extensions does not include SQLite Archive
File functionality.

An SQLite Archive File is just a normal SQLite3 database. You can open
it in SQLiteSpy and use the SQLAR functions to read/write its
uncompressed/compressed content.

The SQLite Archive File database schema is described here:
https://www.sqlite.org/sqlar.htm

Ralf


What I meant by that was the equivalent to the SQlite CLI .archive command
or the -A option when calling sqlite3.exe. I don't see a way using
zipfile() and the Virtual Table in SQLiteSpy to add an existing file to the
zip file. Maybe I'm missing something but that wouldn't be the first time!

Tom

Other related posts: