connect,RequeteODBCwheredate-method | R Documentation |
connect method loads a request to the database and returns either an error or a data.frame
## S4 method for signature 'RequeteODBCwheredate' connect(object)
object |
an object of class RequeteODBCwheredate |
An object of class RequeteODBCwheredate
method modified from v0.2.1240 to use the connect method of the mother class which in turn will use the method of the mother class
Cedric Briand cedric.briand@eptb-vilaine.fr
## Not run: object<-new("RequeteODBCwheredate") object@baseODBC<-get("baseODBC",envir=envir_stacomi) object@select<- "select * from t_operation_ope" object@datedebut=strptime("1996-01-01 00:00:00",format="%Y-%m-%d %H:%M:%S") object@datefin=strptime("2000-01-01 00:00:00",format="%Y-%m-%d %H:%M:%S") object@colonnedebut="ope_date_debut" object@colonnefin="ope_date_fin" object@and<-c("AND ope_dic_identifiant=1","AND ope_dic_identifiant=2") object@order_by<-"ORDER BY ope_identifiant" object@silent=FALSE object<-connect(object) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.