check.version: Internal function: check if database connection is present...

Description Usage Arguments Details Value Author(s) Examples

View source: R/odm1_1.R

Description

h.m is called from any interface function (defined e.g. in odm1_1-class) when no handler object has been defined with options(odm.handler=sqhandler)

check.version checks for correct version of the database and gives an error if this is not the case. Includes a check if the data base schema has been created. If not the corresponding scripts are processed from the src directory.

Usage

1
2
h.m(object)
check.version(object, version)

Arguments

object

The odm-handler object. For example created by new("odm1_1Ver", con = con) where con is the database connection.

version

The version required.

Details

What do you need?

Value

Nothing returned. Side effects assure that the package can be used without explicitly setting up a database.

Author(s)

Dominik Reusser

Examples

1
# see code

RObsDat documentation built on May 29, 2017, 12:07 p.m.