BiodbSqlQuery | R Documentation |
This class handles an SQL Query.
This class handles an SQL Query.
This class represents an SQL query. It is used internally to generate an SQL query string.
new()
Initializer.
BiodbSqlQuery$new()
Nothing.
setTable()
Set the table.
BiodbSqlQuery$setTable(table)
table
The table name.
Nothing.
addField()
Set the fields.
BiodbSqlQuery$addField(table = NULL, field)
table
The table name.
field
A field name.
Nothing.
setDistinct()
Set or unset distinct modifier.
BiodbSqlQuery$setDistinct(distinct)
distinct
Either TRUE or FALSE for setting or unsetting the distinct flag.
Nothing.
setLimit()
Set results limit.
BiodbSqlQuery$setLimit(limit)
limit
The limit to set, as an integer value.
Nothing.
addJoin()
Add a join.
BiodbSqlQuery$addJoin(table1, field1, table2, field2)
table1
The first table.
field1
The field of the first table.
table2
The second table.
field2
The field of the second table.
Nothing.
setWhere()
Set the where clause.
BiodbSqlQuery$setWhere(expr)
expr
A BiodbSqlExpr representing the "where" clause.
Nothing.
getJoin()
Builds and returns the join expression.
BiodbSqlQuery$getJoin()
A character vector representing the join expression.
getWhere()
Gets the where expression.
BiodbSqlQuery$getWhere()
The BiodbSqlExpr instance representing the "where" clause.
getFields()
Gets the fields to retrieve.
BiodbSqlQuery$getFields()
A string containing the list of fields to retrieve.
toString()
Generates the string representation of this query.
BiodbSqlQuery$toString()
A string containing the full SQL query.
clone()
The objects of this class are cloneable with this method.
BiodbSqlQuery$clone(deep = FALSE)
deep
Whether to make a deep clone.
BiodbRequestScheduler
, BiodbRequest
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.