Description Usage Arguments Value Examples
Returns a condition clause to be used in queries.
1 | buildCondition(variable, operator, value)
|
variable |
The variable or column name to filter. |
operator |
An operator for the filter. Currenty (== equals) an (!= not equals) are supported. (More operators to be implemented in the future). |
value |
Provides a value to compare with. |
Returns the filtering clause. A list of clauses can be composed
and passed to query()
or count()
functions via the conditions
parameter to build complex queries.
1 2 3 4 5 6 7 | cnx <- connect("http://jacaton-r.herokuapp.com", "demo", "1234")
off <- resource(cnx, "oficinas")
count(off)
count(off, conditions=buildCondition("nombre", "!=", "Seville") )
count(off, conditions=buildCondition("nombre", "==", "Seville") )
query(off, conditions=buildCondition("nombre", "==", "Seville") )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.