Get All keys that follow a pattern

db_ts_find_keys(con, pattern, schema = "timeseries")

Arguments

con

RPostgres connection object.

pattern

character that represents a regular expression to find keys

schema

character name of the database schema. Defaults to 'timeseries'

Examples


if (FALSE) {
db_ts_store(con = connection, zrh_airport, schema = "schema")

# get all keys that start with "ch"
db_ts_find_keys(
  con = connection,
  "^ch",
  schema = "schema")
}