ExprField | R Documentation |
This class represents an SQL field.
This class represents an SQL field.
Used to define a field to be used inside a SELECT or UPDATE statement.
sqlq::Statement
-> sqlq::Expr
-> ExprField
new()
Initializer.
ExprField$new(name, tabl = NULL)
name
The field name.
tabl
The table name.
Nothing.
getTable()
Return the associted table.
ExprField$getTable()
The associated table, as a character value, NA if no table is defined.
getTokens()
Generate the list of tokens representing this statement.
ExprField$getTokens()
A list of Token objects.
clone()
The objects of this class are cloneable with this method.
ExprField$clone(deep = FALSE)
deep
Whether to make a deep clone.
# To generate the reference to field "title" in table "books":
ExprField$new("title", tabl="books")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.