docdb_delete | R Documentation |
Delete documents or container
docdb_delete(src, key, ...)
src |
Source object, result of call to any of functions
|
key |
(character) The name of the container in the
database backend (corresponds to |
... |
Optionally, specify |
(logical) Success of operation. Typically TRUE
if
document(s) or collection existed, and FALSE
if document(s)
did not exist, or collection did not exist, or delete was not successful.
## Not run:
src <- src_sqlite()
docdb_create(src, "iris", iris)
docdb_delete(src, "iris", query = '{"Species": {"$regex": "a$"}}')
docdb_delete(src, "iris")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.