adbc_error_from_array_stream | R Documentation |
Get extended error information from an array stream
adbc_error_from_array_stream(stream)
stream |
A nanoarrow_array_stream |
NULL
if stream was not created by a driver that supports
extended error information or a list whose first element is the
status code and second element is the adbc_error
object. The
acbc_error
must not be accessed if stream
is explicitly released.
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)
adbc_error_from_array_stream(stream)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.