Learn R Programming

RSQLite (version 1.0.0)

dbIsValid: Check whether an SQLite object is valid or not.

Description

Support function that verifies that the holding a reference to a foreign object is still valid for communicating with the RDBMS

Usage

# S4 method for SQLiteDriver
dbIsValid(dbObj)

# S4 method for SQLiteConnection dbIsValid(dbObj)

# S4 method for SQLiteResult dbIsValid(dbObj)

isIdCurrent(obj)

Arguments

dbObj,obj

A driver, connection or result.

Value

A logical scalar.

Examples

Run this code
# NOT RUN {
dbIsValid(SQLite())

con <- dbConnect(SQLite())
dbIsValid(con)

dbDisconnect(con)
dbIsValid(con)
# }

Run the code above in your browser using DataLab