AdbiConnection-class | R Documentation |
AdbiConnection objects are created by passing adbi()
as first
argument to DBI::dbConnect()
. They are a superclass of the
DBIConnection class. The "Usage" section lists the class methods
overridden by adbi.
## S4 method for signature 'AdbiConnection'
dbAppendTable(conn, name, value, ..., row.names = NULL)
## S4 method for signature 'AdbiConnection'
dbBegin(conn, ...)
## S4 method for signature 'AdbiConnection'
dbCommit(conn, ...)
## S4 method for signature 'AdbiConnection'
dbDataType(dbObj, obj, ...)
## S4 method for signature 'AdbiConnection,Id'
dbExistsTable(conn, name, ...)
## S4 method for signature 'AdbiConnection,SQL'
dbExistsTable(conn, name, ...)
## S4 method for signature 'AdbiConnection,character'
dbExistsTable(conn, name, ...)
## S4 method for signature 'AdbiConnection'
dbGetInfo(dbObj, ...)
## S4 method for signature 'AdbiConnection'
dbIsValid(dbObj, ...)
## S4 method for signature 'AdbiConnection,Id'
dbListFields(conn, name, ...)
## S4 method for signature 'AdbiConnection,SQL'
dbListFields(conn, name, ...)
## S4 method for signature 'AdbiConnection,character'
dbListFields(conn, name, ...)
## S4 method for signature 'AdbiConnection'
dbListTables(conn, ...)
## S4 method for signature 'AdbiConnection,character'
dbQuoteIdentifier(conn, x, ...)
## S4 method for signature 'AdbiConnection,character'
dbQuoteLiteral(conn, x, ...)
## S4 method for signature 'AdbiConnection,character'
dbQuoteString(conn, x, ...)
## S4 method for signature 'AdbiConnection,character'
dbRemoveTable(conn, name, ..., temporary = FALSE, fail_if_missing = TRUE)
## S4 method for signature 'AdbiConnection,Id'
dbRemoveTable(conn, name, ..., temporary = FALSE, fail_if_missing = TRUE)
## S4 method for signature 'AdbiConnection'
dbRollback(conn, ...)
## S4 method for signature 'AdbiConnection'
dbUnquoteIdentifier(conn, x, ...)
## S4 method for signature 'AdbiConnection,Id,data.frame'
dbWriteTable(
conn,
name,
value,
overwrite = FALSE,
append = FALSE,
...,
field.types = NULL,
row.names = NULL,
temporary = FALSE
)
## S4 method for signature 'AdbiConnection,SQL,data.frame'
dbWriteTable(conn, name, value, ...)
## S4 method for signature 'AdbiConnection,character,data.frame'
dbWriteTable(conn, name, value, ...)
## S4 method for signature 'AdbiConnection'
show(object)
conn |
A DBIConnection object, as returned by
|
name |
The table name, passed on to
|
value |
A data.frame (or coercible to data.frame). |
... |
Other parameters passed on to methods. |
row.names |
A logical specifying whether the |
dbObj |
A object inheriting from DBIDriver or DBIConnection |
obj |
An R object whose SQL type we want to determine. |
x |
A character vector, SQL or Id object to quote as identifier. |
temporary |
a logical specifying whether the new table should be
temporary. Its default is |
fail_if_missing |
If |
overwrite |
Allow overwriting the destination table. Cannot be
|
append |
Allow appending to the destination table. Cannot be
|
field.types |
character vector of named SQL field types where
the names are the names of new table's columns. If missing, types inferred
with |
object |
Any R object |
The corresponding generic functions
DBI::dbSendQuery()
, DBI::dbGetQuery()
,
DBI::dbSendStatement()
, DBI::dbExecute()
,
DBI::dbExistsTable()
, DBI::dbListTables()
, DBI::dbListFields()
,
DBI::dbRemoveTable()
, and DBI::sqlData()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.