Learn R Programming

stacomirtools (version 0.6.0.1)

connect,RequeteODBCwhere-method: 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 RequeteODBCwhere
connect(object)

Arguments

object

an object of class RequeteODBCwhere

Value

An object of class RequeteODBCwhere

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab