Skip to content

Running native N1QL queries is not supported #21

@lautarodragan

Description

@lautarodragan

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);
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions