The server function for the datasources module

datasourcesServer(id, connectionHandler, resultDatabaseSettings)

Arguments

id

The unique id for the datasources server namespace

connectionHandler

A connection to the database with the results

resultDatabaseSettings

A named list containing the cohort generator results database details (schema, table prefix)

Value

The server for the datasources module