isIdCurrent

0th

Percentile

Check whether an dbObjectId handle object is valid or not

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

Keywords
interface, database
Usage
isIdCurrent(obj)
Arguments
obj
any dbObjectId (e.g., dbDriver, dbConnection, dbResult).
Details

dbObjectId are R/S-Plus remote references to foreign (C code) objects. This introduces differences to the object's semantics such as persistence (e.g., connections may be closed unexpectedly), thus this function provides a minimal verification to ensure that the foreign object being referenced can be contacted.

Value

  • a logical scalar.

See Also

dbDriver dbConnect dbSendQuery dbGetQuery fetch

Aliases
  • isIdCurrent
Examples
cursor <- dbSendQuery(con, sql.statement)
isIdCurrent(cursor)
Documentation reproduced from package RSQLite, version 0.3-0, License: LGPL version 2 or newer

Community examples

Looks like there are no examples yet.