Skip to contents

SQLiteConnection objects are created by passing SQLite() as first argument to DBI::dbConnect(). They are a superclass of the DBIConnection class. The "Usage" section lists the class methods overridden by RSQLite.

Usage

# S3 method for class 'SQLiteConnection'
format(x, ...)

# S4 method for class 'SQLiteConnection'
dbAppendTable(conn, name, value, ..., row.names = NULL)

# S4 method for class 'SQLiteConnection'
dbDataType(dbObj, obj, ...)

# S4 method for class 'SQLiteConnection,Id'
dbExistsTable(conn, name, ...)

# S4 method for class 'SQLiteConnection,character'
dbExistsTable(conn, name, ...)

# S4 method for class 'SQLiteConnection'
dbGetException(conn, ...)

# S4 method for class 'SQLiteConnection'
dbGetInfo(dbObj, ...)

# S4 method for class 'SQLiteConnection'
dbIsValid(dbObj, ...)

# S4 method for class 'SQLiteConnection'
dbListObjects(conn, prefix = NULL, ...)

# S4 method for class 'SQLiteConnection'
dbListTables(conn, ...)

# S4 method for class 'SQLiteConnection,SQL'
dbQuoteIdentifier(conn, x, ...)

# S4 method for class 'SQLiteConnection,character'
dbQuoteIdentifier(conn, x, ...)

# S4 method for class 'SQLiteConnection,character'
dbRemoveTable(conn, name, ..., temporary = FALSE, fail_if_missing = TRUE)

# S4 method for class 'SQLiteConnection,character'
dbSendQuery(conn, statement, params = NULL, ...)

# S4 method for class 'SQLiteConnection,SQL'
dbUnquoteIdentifier(conn, x, ...)

# S4 method for class 'SQLiteConnection'
show(object)

# S4 method for class 'SQLiteConnection'
sqlData(con, value, row.names = FALSE, ...)

Arguments

temporary

If TRUE, only temporary tables are considered.

fail_if_missing

If FALSE, dbRemoveTable() succeeds if the table doesn't exist.

Value

format() returns a character string. dbAppendTable() returns the number of rows appended. dbDataType() returns a character vector of SQL data types. dbExistsTable() and dbIsValid() return a logical scalar. dbGetException() returns a list with elements errorNum and errorMsg. dbGetInfo() returns a named list. dbListObjects() returns a data frame with columns table and is_prefix. dbListTables() returns a character vector. dbQuoteIdentifier() returns an SQL object. dbRemoveTable() returns TRUE, invisibly. dbSendQuery() returns an object of class SQLiteResult. dbUnquoteIdentifier() returns a list of Id objects. show() is called for its side effect of printing and returns NULL. sqlData() returns a data frame with character columns quoted as SQL strings.