connect-RequeteODBCwhere-method: connect method loads a request to the database and returns...

connect,RequeteODBCwhere-methodR Documentation

connect method loads a request to the database and returns either an error or a data.frame

Description

connect method loads a request to the database and returns either an error or a data.frame

Usage

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

Arguments

object

an object of class RequeteODBCwhere

Value

An object of class RequeteODBCwhere

Note

method modified from v0.2.1240 to use the connect method of the mother class

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr

Examples

## Not run: 
object<-new("RequeteODBCwhere")
object@baseODBC<-baseODBC
object@sql<- "select * from t_lot_lot"
object@where<-"WHERE lot_tax_code='2038'"
object@and<-c("AND lot_std_code='CIV'","AND lot_ope_identifiant<1000")
object@order_by<-"ORDER BY lot_identifiant"
object<-connect(object)

## End(Not run)

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