Category: Best Practices and Tutorials
-

N1QL & SEARCH: Leverage Full-Text Search (FTS) Index in N1QL
With Couchbase v6.5, Full-Text Search is now integrated into the Couchbase N1QL query construct. Customers can now leverage FTS indexes directly with N1QL. This provides developers a single API to combine N1QL exact predicate…
-

How to Create a Custom Token Store for Spring-Security-Oauth2 | OAuth Part 2
In the previous blog post, we discussed how to configure a simple OAuth2 authentication. However, our implementation has a major flaw in it: we are using an in-memory token store. In-Memory token stores should…
-

Using Couchbase Analytics with Node.js and JavaScript
Note: This post uses the the Couchbase Analytics Data Definition Language as of the version 5.5 preview release. For updates and information on breaking changes in newer versions, please refer to Changes to the Couchbase…
-

Document Conflicts & Resolution in Couchbase Mobile 2.0
Document conflicts can occur in distributed environments that support data synchronization, wherein a document can be updated concurrently by one or more writers. This is especially common in mobile environments where unreliable network connections…
-

ANSI JOIN Support in N1QL
Overview ANSI JOIN support is added in N1QL to Couchbase version 5.5. In previous versions of Couchbase, join support was limited to lookup join and index join, which works great when the document key…
-

Couchbase With Spring-Boot and Spring Data
One of the biggest barriers for anyone who wants to start using new technologies is usually the learning curve. Often while starting a new project, we end up choosing to use what we already…
-

Introducing Couchbase PartnerEngage
I’m very excited to announce the launch of Couchbase PartnerEngage, a new partner program tailored for resellers, system integrators, consultants and technology partners to capitalize on the Engagement Database market opportunity. Though Couchbase has…
-

Database Pagination: Using OFFSET and Keyset in N1QL
Read the pagination background in my previous article: https://www.couchbase.com/blog/optimizing-database-pagination-using-couchbase-n1ql/ Pagination is the task of dividing the potential result into pages and retrieving the required pages, one by one on demand. Using OFFSET and LIMIT…
-

Going Full Stack with Node.js, Vue.js, and Couchbase NoSQL
If you’ve been keeping up, I’m a huge advocate for Node.js development and the JavaScript development stack. Previously I had written about the Couchbase, Express, AngularJS, and Node.js (CEAN) stack and modernized the backend…
-

Oracle Date Format: N1QL and Support for Date-Time Functions
Date and Time functions and formats can vary for different databases. In this article, we shall compare Couchbase ISO-based Date-Time functions with Oracle Date format. Date formats vary between relational and NoSQL database due…
-

Hashing Password Data in Couchbase with Golang and BCrypt – Video
I recently wrote about hashing password data using Golang before storing them into Couchbase. This is very useful because user data is incredibly sensitive. To further build upon what I wrote about, I thought…
-

Continuously Deploying a Node.js Application Using CircleCI
A few months back I had written about creating a continuous deployment pipeline with Node.js and Jenkins, where the Node.js application was using Couchbase in some fashion. Essentially, it took a project from GitHub,…