Skip to content
Snippets Groups Projects

Refactor enrollments route to include query building

Merged João Victor Risso requested to merge refactor_enrollments into development
20 files
+ 0
862
Compare changes
  • Side-by-side
  • Inline
Files
20
  • 9f1da16d
    Clear build directory · 9f1da16d
    João Victor Risso authored
    Remove all files from build directory. The rationale is that this
    directory is updated frequently during the development process and might
    add too much 'noise' in the commits in the repository.
+ 0
24
'use strict';
var MonetDBPool = require('monetdb-pool');
var libs = process.cwd() + '/libs';
var config = require(libs + '/config');
var poolOptions = {
nrConnections: config.get('monetdb:nrConnections')
};
var options = {
host: config.get('monetdb:host'),
port: config.get('monetdb:port'),
dbname: config.get('monetdb:dbname'),
user: config.get('monetdb:user'),
password: config.get('monetdb:password')
};
var conn = new MonetDBPool(poolOptions, options);
conn.connect();
module.exports = conn;
\ No newline at end of file
Loading