isPostgresqlIdCurrent

0th

Percentile

Check whether a database handle object is valid or not

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

Keywords
interface, database
Usage
isPostgresqlIdCurrent(obj)
Arguments
obj

any dbObject (e.g., dbDriver, dbConnection, dbResult).

Details

dbObjects are R/S-Plus remote references to foreign 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 fetch

Aliases
  • isPostgresqlIdCurrent
Examples

Documentation reproduced from package RPostgreSQL, version 0.6-2, License: GPL-2 | file LICENSE

Community examples

Looks like there are no examples yet.