// override the framework prototypeframework.database = function(dbName, callback) {return new pg.connect('postgres://user:1234@host:5432/' + dbName, callback);};self.database('table123', function(err, client, done) {};TypeError: Cannot call method 'getOrCreate' of undefined TypeError: Cannot call method 'getOrCreate' of undefined at new PG.connect (/d/node_modules/pg.js/lib/index.js:36:25) at EventEmitter.framework.database (eval at <anonymous> (/d/node_modules/total.js/index.js:1:18228), <anonymous>:5:12) at Object.Controller.database (/d/node_modules/total.js/index.js:5:4795) at Object.view_homepage (/d/controllers/mapping.js:11:10)Thank you for your help
I am encountering the same problem. Were you able to solve the issue?
Thanks