In Node.js SDK, I used
const couchbase = require("couchbase");
const N1ql = couchbase.N1qlQuery;
here, am getting N1ql is undefined.
Please I need help with this.
In Node.js SDK, I used
const couchbase = require("couchbase");
const N1ql = couchbase.N1qlQuery;
here, am getting N1ql is undefined.
Please I need help with this.
@venkatreddy What is the version of Node.js Couchbase SDK and Couchbase Server version you are using?
Thanks @raju
Couchbase SDK version 3.0.4 and Couchbase server version 6.5
Hey @venkatreddy,
SDK 3.0 has improved the interface for performing N1QL queries. You can find lots more information about the new interfaces here:
Cheers, Brett