make_delete | R Documentation |
Create a QueryDelete instance.
make_delete(tabl, where = NULL)
tabl |
Name of the new table |
where |
Set a StmtWhere instance to add a where clause. |
An instance of QueryDelete.
# Create a simple DELETE query for deleting some old books:
where <- StmtWhere$new(ExprBinOp$new(
ExprField$new("year"), "<",
ExprValue$new(2015)
))
delete <- make_delete(tabl = "books", where = where)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.