Statements
Usage
adbc_statement_init(connection, ...)
adbc_statement_init_default(connection, options = NULL, subclass = character())
adbc_statement_release(statement)
adbc_statement_set_options(statement, options)
adbc_statement_get_option(statement, option)
adbc_statement_get_option_bytes(statement, option)
adbc_statement_get_option_int(statement, option)
adbc_statement_get_option_double(statement, option)
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
- option
A specific option name
Examples
db <- adbc_database_init(adbc_driver_void())
con <- adbc_connection_init(db)
adbc_statement_init(con)
#> <adbc_statement at 0x55c23b158940>
#> List of 1
#> $ connection:<adbc_connection at 0x55c23c6316f0>
#> List of 1
#> ..$ database:<adbc_database at 0x55c23bf86240>
#> List of 1
#> .. ..$ driver:<adbc_driver_void> List of 2
#> .. .. ..$ driver_init_func:Class 'adbc_driver_init_func' <externalptr>
#> .. .. ..$ .child_count : int 0