Skip to contents

ADBC SQLite3 Driver

Usage

adbcsqlite()

# S3 method for adbcsqlite_driver_sqlite
adbc_database_init(driver, ..., uri = ":memory:")

# S3 method for adbcsqlite_database
adbc_connection_init(database, ..., adbc.connection.autocommit = NULL)

# S3 method for adbcsqlite_connection
adbc_statement_init(
  connection,
  ...,
  adbc.ingest.target_table = NULL,
  adbc.ingest.mode = NULL,
  adbc.sqlite.query.batch_rows = NULL
)

Arguments

driver

An adbc_driver().

...

Driver-specific options. For the default method, these are named values that are converted to strings.

uri

A URI to a database path or ":memory:" for an in-memory database.

database

An adbc_database.

adbc.connection.autocommit

Use FALSE to disable the default autocommit behaviour.

connection

An adbc_connection

adbc.ingest.target_table

The name of the target table for a bulk insert.

adbc.ingest.mode

Whether to create (the default) or append.

adbc.sqlite.query.batch_rows

The number of rows per batch to return.

Examples

adbcsqlite()
#> <adbcsqlite_driver_sqlite> List of 2
#>  $ driver_init_func:Class 'adbc_driver_init_func' <externalptr> 
#>  $ .child_count    : int 0