Installation
npm
Usage
Querying for Documents from Couchbase
For more details on connecting to a Couchbase cluster, please check the Node.js SDK documentation. For help with querying for documents using SQL++ (SQL for JSON), please check the documentation.Connect to Couchbase Cluster
Create the Loader
Load Documents
You can fetch the documents by calling theload method of the loader. It will return a list with all the documents. If you want to avoid this blocking call, you can call lazy_load method that returns an Iterator.
Specifying Fields with Content and Metadata
The fields that are part of the Document content can be specified using thepageContentFields parameter.
The metadata fields for the Document can be specified using the metadataFields parameter.
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.