setup_sql_triggers {timeseriesdb}R Documentation

Install timeseriesdb Triggers

Description

Installs functions needed for timeseriesdb triggers and sets up these triggers in a given PostgreSQL schema. The functions uses a default SQL file installed with the package to generate SQL functions. The default schema 'timeseries' can be replaced using the 'schema' parameter.

Usage

setup_sql_triggers(con, schema = "timeseries", prnt = identity)

Arguments

con

PostgreSQL connection object created by the RPostgres package.

schema

character schema name, defaults to 'timeseries'.

prnt

function log printing function


[Package timeseriesdb version 1.0.0-1.1.2 Index]