Take a look at lib/cb.js:528:
CouchbaseDB.prototype.query = function (sql, callback) {
debug("CouchbaseDB.prototype.query() model, query: " + JSON.stringify([sql]));
var self = this;
callback(null,null);
};
The following will always return null:
Model.dataSource.connector.query(query, (e, r) => {
console.log(e, r); // both 'e' and 'r' are null
callback(e, r);
});
Take a look at lib/cb.js:528:
The following will always return null: