View source: R/driver_monkey.R
adbc_driver_monkey | R Documentation |
A driver whose query results are set in advance.
adbc_driver_monkey()
An object of class 'adbc_driver_monkey'
db <- adbc_database_init(adbc_driver_monkey())
con <- adbc_connection_init(db)
stmt <- adbc_statement_init(con, mtcars)
stream <- nanoarrow::nanoarrow_allocate_array_stream()
adbc_statement_execute_query(stmt, stream)
as.data.frame(stream$get_next())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.