connect-ConnectionODBC-method: connect method for ConnectionODBC class

connect,ConnectionODBC-methodR Documentation

connect method for ConnectionODBC class

Description

connect method for ConnectionODBC class

Usage

## S4 method for signature 'ConnectionODBC'
connect(object)

Arguments

object

an object of class ConnectionODBC

Value

a connection with slot filled

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr

Examples

##this wont be run as the user need to manually configure the connection before using it
## Not run: 
object=new("ConnectionODBC")
object@baseODBC=c("myODBCconnection","myusername","mypassword")
object@silent=FALSE
object<-connect(object)
odbcClose(object@connection)

## End(Not run)

stacomirtools documentation built on Sept. 9, 2022, 3:07 p.m.