docdb_exists {nodbi} | R Documentation |
Check if container exists in database
Description
Check if container exists in database
Usage
docdb_exists(src, key, ...)
Arguments
src |
Source object, result of call to any of functions
|
key |
(character) The name of the container in the
database backend (corresponds to |
... |
Passed to functions |
Value
(logical) TRUE
or FALSE
to indicate
existence of container key
in database.
Note this does not indicate if the container
holds any documents.
Examples
## Not run:
src <- src_sqlite()
docdb_exists(src, "nonexistingcontainer")
docdb_create(src, "mtcars", mtcars)
docdb_exists(src, "mtcars")
## End(Not run)
[Package nodbi version 0.10.6 Index]