db.unsqlar: Unpack a SQLite archive.

View source: R/db-sqlar.R

db.unsqlarR Documentation

Unpack a SQLite archive.

Description

Unpack a SQLite archive.

Usage

db.unsqlar(db, name, path, files)

Arguments

db

The database connection. S4 object of class "database".

name

The name of the SQLite archive table.

path

The path to unpack the archive under.

files

The files in the archive to extract. These need not be complete names. For example, "file1" will be matched using wildcards on either end. So if "file1" is a directory all files under it will be extracted.

Details

This will read the sqlar table in the database and write out its content into a filesystem hierarchy under path.

Value

None.

Note

The sqlar_uncompress function must be registered with the database connection for this function to work. This is done automatically with db.open


blueraleigh/db documentation built on Feb. 25, 2024, 9:13 a.m.