The following code snippet generates an error: [TypeError: Cannot call method 'hasOwnProperty' of undefined]
orm.connect({database:'ultimet.db', protocol:'sqlite'}, function (err, db) {
if (err) {
console.error(err);
} else {
console.log('connected to the DB');
}
});
If I include this in the connect() options then it works fine.