Learn R Programming

RMySQL (version 0.4-6)

getManager: Get a database manager object from a derived handle

Description

Get the dbManager handle from some other dbObject -- useful when one forgets to save the manager handle

Usage

getManager(obj, ...)

Arguments

obj
any dbObject, i.e., any remote reference to a RDBMS as implemented by the R/S database interface (a dbConnection, dbResultSet, etc.)
...
any other arguments are passed to the implementing method.

Value

  • a dbManager object.

See Also

On database managers:

dbManager MySQL load unload

On connections, SQL statements and resultSets:

dbExecStatement dbExec fetch quickSQL

On transaction management:

commit rollback

On meta-data:

describe getVersion getDatabases getTables getFields getCurrentDatabase getTableIndices getException getStatement hasCompleted getRowCount getAffectedRows getNullOk getInfo

Examples

Run this code
> mgr <- dbManager(con)

Run the code above in your browser using DataLab