ensureRecvDBTables: make sure a receiver database has the required tables; also,...

Description Usage Arguments Value Author(s)

View source: R/ensureRecvDBTables.R

Description

make sure a receiver database has the required tables; also, load custom SQLite extensions on this DB connection.

Usage

1
ensureRecvDBTables(src, recreate = c(), serno)

Arguments

src

dplyr sqlite src, as returned by dplyr::src_sqlite()

recreate

vector of table names which should be dropped then re-created, losing any existing data. Defaults to empty vector, meaning no tables are recreate. As a special case, TRUE causes all tables to be dropped then recreated.

serno

character scalar receiver serial number; only used when 'meta' table is populated

Value

returns NULL (silently); fails on any error

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.