Skip to contents

Databases

Usage

adbc_database_init(driver, ...)

adbc_database_init_default(driver, options = NULL, subclass = character())

adbc_database_set_options(database, options)

adbc_database_release(database)

Arguments

driver

An adbc_driver().

...

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

options

A named character() or list() whose values are converted to strings.

subclass

An extended class for an object so that drivers can specify finer-grained control over behaviour at the R level.

database

An adbc_database.

Value

An object of class adbc_database

Examples

adbc_database_init(adbc_driver_void())
#> <adbc_database> <pointer: 0x55dd7b555f80> List of 2
#>  $ driver :<adbc_driver_void> List of 1
#>   ..$ driver_init_func:Class 'adbc_driver_init_func' <externalptr> 
#>  $ options: list()