ExprBetween | R Documentation |
This class represents an SQL BETWEEN expression.
This class represents an SQL BETWEEN expression.
Used to generate SQL expression BETWEEN / AND.
sqlq::Statement
-> sqlq::Expr
-> ExprBetween
new()
Initializer.
ExprBetween$new(field, low, high)
field
An ExprField instance representing the field to check.
low
An ExprValue instance representing the lower bound.
high
An ExprValue instance representing the upper bound.
Nothing.
getTokens()
Generates the list of tokens representing this statement.
ExprBetween$getTokens()
A list of Token objects.
clone()
The objects of this class are cloneable with this method.
ExprBetween$clone(deep = FALSE)
deep
Whether to make a deep clone.
# To generate "i BETWEEN 1 AND 10":
ExprBetween$new(ExprField$new("i"), ExprValue$new(1L), ExprValue$new(10L))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.