Statements
Usage
adbc_statement_init(connection, ...)
adbc_statement_init_default(connection, options = NULL, subclass = character())
adbc_statement_set_options(statement, options)
adbc_statement_release(statement)
Arguments
- connection
- ...
Driver-specific options. For the default method, these are named values that are converted to strings.
- options
A named
character()
orlist()
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.
- statement
An adbc_statement
Examples
db <- adbc_database_init(adbc_driver_void())
con <- adbc_connection_init(db)
adbc_statement_init(con)
#> <adbc_statement> <pointer: 0x55dd7b9d27a0> List of 2
#> $ connection:<adbc_connection> <pointer: 0x55dd7b7265d0> List of 2
#> ..$ database:<adbc_database> <pointer: 0x55dd78a3af40> List of 2
#> .. ..$ driver :<adbc_driver_void> List of 1
#> .. .. ..$ driver_init_func:Class 'adbc_driver_init_func' <externalptr>
#> .. ..$ options: list()
#> ..$ options : list()
#> $ options : list()