How to do raw query in Bookshelf.js
I found this to work .. no qb. instance/reference required:
var Bookshelf = require('bookshelf').mysqlAuth;
var rawSql = 'SELECT .. <etc>';
Bookshelf.knex.raw(rawSql).then(..);
Its.
qb.column(qb.knex.raw(raw));