Query | R Documentation |
This class handles an SQL Query.
This class handles an SQL Query.
This class represents an SQL query.
new()
Initializer.
Query$new(stmts)
stmts
A character vector of statement class names. It describes the accepted statements and their order, using wildcards to indicate if a statement is optional, or if it is allowed to occur multiple times. Example: c("Select", "From", "Join*", "Where?", "Limit?")
Nothing.
add()
Add a statement.
Query$add(stmt)
stmt
The statement to add.
Nothing.
toString()
Generates the string representation of this query.
Query$toString()
A string containing the full SQL query.
clone()
The objects of this class are cloneable with this method.
Query$clone(deep = FALSE)
deep
Whether to make a deep clone.
# No example provided, as this class is abstract.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.