All posts by Johan Larson

Senior Software Engineer, Couchbase

Auditing Couchbase N1QL Statements

Couchbase Server 5.5 includes the ability to keep a record of all N1QL actions taken by users. This is part of Couchbase’s more general audit functionality, introduced in 5.0. Auditing is only available in Enterprise edition. Auditing lets the administrators...

/ March 19, 2018

Working with JSON Arrays in N1QL

The N1QL query language has a rich set of facilities for working with arrays in JSON. In this article, we’ll cover array constants, facilities for searching in arrays, ways to transform arrays, and some useful array functions. The format is...

/ February 28, 2018

Using Role-Based Access Control in N1QL

In Couchbase 4.5, data was secured bucket by bucket. Each bucket had a password, and in order to access a bucket through a N1QL query, the user had to include the bucket password with the query. Passwordless buckets were possible,...

/ October 23, 2017