db_collection_get_keys {timeseriesdb} | R Documentation |
Get All Keys in a User Collection
Description
Reads all keys in the given collection and returns them in a vector
Usage
db_collection_get_keys(
con,
collection_name,
user = Sys.info()["user"],
schema = "timeseries"
)
Arguments
con |
RPostgres connection object. |
collection_name |
character name of a collection to read. Collection are bookmark lists that contain time series keys. |
user |
character name of the database user. Defaults to the user of the R session. this is often the user for the database, too so you do not have to specify your username explicitly if that is the case. |
schema |
character name of the database schema. Defaults to 'timeseries' |
See Also
Other collections functions:
db_collection_add_ts()
,
db_collection_delete()
,
db_collection_get_last_update()
,
db_collection_list()
,
db_collection_remove_ts()
[Package timeseriesdb version 1.0.0-1.1.2 Index]