Tag: javascript

How to Add Full-Text Search Functionality to Your JavaScript App

How to Add Full-Text Search Functionality to Your JavaScript App

It’s unavoidable: If you’re working with a document database, you’re eventually going to need to search for (and through) your JSON documents. In this tutorial, you’ll add the full-text search capabilities of Couchbase to the basic REST API built with...

September 20, 2021
How to Query JSON Data Using SQL++ for Node.js and Couchbase

How to Query JSON Data Using SQL++ for Node.js and Couchbase

Today’s the day your Node.js app learns “go fetch.” By following this basic tutorial, you’ll learn how to build a REST API for your Node.js app that sends SQL++ (aka N1QL) queries to retrieve data from Couchbase. This post continues...

September 15, 2021
Build a REST-Based Application with Node.js, Express and Couchbase

Build a REST-Based Application with Node.js, Express and Couchbase

If you’re new to Node.js, Couchbase or both, you’re about to level up your skills. Today I’ll show you how to build a minimal REST-based application for retrieving documents from Couchbase using Node.js and Express. This post continues my introductory...

September 6, 2021
How to Create Async Get/Upsert Calls with Node.js and Couchbase

How to Create Async Get/Upsert Calls with Node.js and Couchbase

If you’re a JavaScript dev who’s transitioning to use Node.js, you’ll want to take advantage of async functions. That’s because asynchronous API calls don’t block your code and return promises. In this post, I’ll show you how to create async...

August 30, 2021
A Better Development Experience with Ottoman JS [Video]

A Better Development Experience with Ottoman JS [Video]

If you’re a JavaScript developer, I hope you know about the JavaScript & Friends conference. The JS & Friends conference is a diverse group of around 200 JavaScript developers and friends who get together to learn new skills and concepts...

August 27, 2021
N1QL Now Supports User-Defined Functions

N1QL Now Supports User-Defined Functions

Declarative query languages have been a major gear shift in the world of database engines. The SQL++ query language (formerly N1QL) is primarily a declarative query language. You tell the query what to get and N1QL works out the rest...

How to Get Started with the Node.js SDK for Couchbase

How to Get Started with the Node.js SDK for Couchbase

In just a few lines of code you can start using Couchbase with Node.js to build your next JavaScript application. This hello world tutorial walks you through the basic first steps of using the Node.js SDK with the latest features...

August 23, 2021
How (and Why) to Use Couchbase as an XML Database

How (and Why) to Use Couchbase as an XML Database

Couchbase and XML – no problem! I’ve heard it said dozens of times: “Hey, Couchbase is great but I use XML.” I recognize that countering with, “Couchbase can be your XML database” is pretty bold, especially for a JSON-oriented document...

Why NoSQL JSON Databases Are So Useful

Why NoSQL JSON Databases Are So Useful

My family hears me talk about JSON databases rather frequently. Naturally, I had to explain that Jason is not the owner of my company! Instead, many modern databases use JSON as a data format. They usually leave the room at...

Eventing: Introducing Advanced Bucket Accessors in Couchbase

Eventing: Introducing Advanced Bucket Accessors in Couchbase

Advanced Bucket Accessors in Couchbase make it possible to access advanced key-value store (KV) functionality using the following built-in operators. They utilize the same bucket bindings defined in the handler as Basic Bucket Accessors, but expose a richer set of...

Real Time User Deduplication with Couchbase Eventing

Real Time User Deduplication with Couchbase Eventing

User deduplication is an important activity for anyone managing a corpus of user related data. In some cases you may end up with multiple versions of the same user in your database. This can happen for any number of reasons:...

January 21, 2019