R Database Interface


[Up] [Top]

Documentation for package ‘DBI’ version 0.4-1

Help Pages

dbBegin Begin/commit/rollback SQL transactions
dbBind Bind values to a parameterised/prepared statement.
dbClearResult Clear a result set.
dbColumnInfo Information about result types.
dbCommit Begin/commit/rollback SQL transactions
dbConnect Create a connection to a DBMS.
dbDataType Determine the SQL data type of an object.
dbDataType-method Determine the SQL data type of an object.
dbDisconnect Disconnect (close) a connection
dbDriver Load and unload database drivers.
dbDriver-method Load and unload database drivers.
dbExistsTable Does a table exist?
dbFetch Fetch records from a previously executed query.
dbFetch-method Fetch records from a previously executed query.
dbGetException Get DBMS exceptions.
dbGetInfo Get DBMS metadata.
dbGetInfo-method Get DBMS metadata.
dbGetQuery Send query, retrieve results and then clear result set.
dbGetQuery-method Send query, retrieve results and then clear result set.
dbGetRowCount The number of rows fetched so far
dbGetRowCount-method The number of rows fetched so far
dbGetRowsAffected The number of rows affected
dbGetRowsAffected-method The number of rows affected
dbGetStatement Get the statement associated with a result set
dbGetStatement-method Get the statement associated with a result set
dbHasCompleted Completion status
dbHasCompleted-method Completion status
DBIConnection-class DBIConnection class.
DBIDriver-class DBIDriver class.
DBIObject-class DBIObject class.
DBIResult-class DBIResult class.
dbIsValid Is this DBMS object still valid?
dbListConnections List currently open connections.
dbListFields List field names of a remote table.
dbListResults A list of all pending results.
dbListTables List remote tables.
dbQuoteIdentifier SQL quoting.
dbQuoteIdentifier-method SQL quoting.
dbQuoteIdentifier-method Refer to a table nested in a hierarchy (e.g. within a schema)
dbQuoteString SQL quoting.
dbQuoteString-method SQL quoting.
dbReadTable Copy data frames to and from database tables.
dbRemoveTable Remove a table from the database.
dbRollback Begin/commit/rollback SQL transactions
dbSendQuery Execute a statement on a given database connection.
dbUnloadDriver Load and unload database drivers.
dbWriteTable Copy data frames to and from database tables.
fetch Fetch records from a previously executed query.
isSQLKeyword Make R identifiers into legal SQL identifiers.
isSQLKeyword-method Make R identifiers into legal SQL identifiers.
isSQLKeyword.default Make R identifiers into legal SQL identifiers.
make.db.names Make R identifiers into legal SQL identifiers.
make.db.names-method Make R identifiers into legal SQL identifiers.
make.db.names.default Make R identifiers into legal SQL identifiers.
rownames Convert row names back and forth between columns.
show-method DBIConnection class.
show-method DBIDriver class.
show-method DBIResult class.
show-method SQL quoting.
show-method Refer to a table nested in a hierarchy (e.g. within a schema)
SQL SQL quoting.
SQL-class SQL quoting.
sqlAppendTable Insert rows into a table.
sqlAppendTable-method Insert rows into a table.
sqlAppendTableTemplate Insert rows into a table.
sqlColumnToRownames Convert row names back and forth between columns.
sqlCreateTable Create a simple table.
sqlCreateTable-method Create a simple table.
sqlData Convert a data frame into form suitable for upload to a SQL database.
sqlData-method Convert a data frame into form suitable for upload to a SQL database.
sqlInterpolate Safely interpolate values into an SQL string.
sqlInterpolate-method Safely interpolate values into an SQL string.
SQLKeywords Make R identifiers into legal SQL identifiers.
SQLKeywords-method Make R identifiers into legal SQL identifiers.
sqlRownamesToColumn Convert row names back and forth between columns.
Table Refer to a table nested in a hierarchy (e.g. within a schema)
Table-class Refer to a table nested in a hierarchy (e.g. within a schema)
transactions Begin/commit/rollback SQL transactions