View source: R/database_functions.R
sqlpaste | R Documentation |
sqlpaste
will add a new line to the end of every paste statement.
If the last object is a sole ";", it will be tacked onto the element before it.
sqlpaste(...)
... |
one or more 'R' objects, to be converted to character vectors. |
A nicely formatted SQL statement.
## Not run:
tmp_qry <- sqlpaste(
"select * from tbldf",
"where tbldf.column == 'value'"
)
response <- SELECT(tmp_qry)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.