Category: JavaScript

From N1QL to JavaScript and Back – Part 3: Iterating over Documents and DML

From N1QL to JavaScript and Back – Part 3: Iterating over Documents and DML

This earlier blog goes through the basics of executing N1QL statements inside JavaScript functions. We now move onto… Iterators/Processing values So far we have purposely avoided statements that return data, and returning data from the function. This is where we...

From N1QL to JavaScript and Back – Part 2: Basic Usage

From N1QL to JavaScript and Back – Part 2: Basic Usage

The previous blog introduced to you new features in JavaScript user-defined functions. We are now going to explore them in more detail. We start with a basic mechanism to execute N1QL statements inside JavaScript code. N1QL in JavaScript There are...

From N1QL to Javascript and Back – Part 1: Introduction

From N1QL to Javascript and Back – Part 1: Introduction

Among the many great features introduced in Couchbase Server 7.0, one has the potential for a greater impact in later releases: N1QL User Defined Functions. A quick glance at the past N1QL is a declarative language, meaning that requests merely...

Using the Eventing Service to Consolidate Data from Multiple Sources

Using the Eventing Service to Consolidate Data from Multiple Sources

One of the many advantages of using a document-based database such as Couchbase is the ability to use a flexible data model to store data without the constraints of a rigid, predetermined schema. Many customers choose a NoSQL database to...

Traverse Hierarchy with SQL++ User-defined functions (UDFs)

Traverse Hierarchy with SQL++ User-defined functions (UDFs)

User-defined functions (UDFs) are a feature that exist in most RDBMS. Whether it is Oracle PL/SQL (Procedural Language for SQL), SQL Server T-SQL (Transact-SQL), PL/pgSQL (Procedural Language/PostgreSQL), or other variants, all these languages have the general characteristics of providing a...

May 26, 2022
Creating Python and JavaScript User Defined Functions For Geospatial Queries

Creating Python and JavaScript User Defined Functions For Geospatial Queries

SQL++ (or Couchbase N1QL) queries can access data stored in your Couchbase cluster in a variety of ways. There are situations where having the business logic as part of your data queries can also be beneficial. SQL++ supports this with...

April 20, 2022
Event-driven architecture with Solace Event Broker & Couchbase

Event-driven architecture with Solace Event Broker & Couchbase

The asynchronous event-driven architecture of Couchbase is the core of its design. Document mutations continuously stream to the Couchbase Index, Analytics, Eventing and Search services. This architecture guarantees that the Couchbase services are updated in real-time and enables us to...

JavaScript evolution for Couchbase: Connect 2021 sessions

JavaScript evolution for Couchbase: Connect 2021 sessions

Support for JavaScript remains a priority for us at Couchbase–and during the Couchbase ConnectONLINE 2021 event last year, where we discussed how we evolved our support for JavaScript over the past year. This blog post will summarize the JavaScript-related takeaways...

January 4, 2022
Announcing the 3.0 Beta Release for Mobile & Edge Computing

Announcing the 3.0 Beta Release for Mobile & Edge Computing

We’re pleased to announce the GA release of the Couchbase Lite 3.0 and Sync Gateway 3.0 platforms for mobile and edge computing solutions This major release makes great strides in the area of edge computing by expanding our edge device platform...

Level Up Your Data Visualization with Charts in Couchbase 7.0.2

Level Up Your Data Visualization with Charts in Couchbase 7.0.2

If a picture is worth a thousand words, data visualization is worth a thousand data points. With the release of Couchbase 7.0.2, the Query Workbench (and the Analytics Workbench) now include a Charts tab that allows you to create charts...

October 22, 2021
Hear from PepsiCo, Comcast, UPS & More at Couchbase Connect

Hear from PepsiCo, Comcast, UPS & More at Couchbase Connect

October is here, which means that we are in the home stretch for Couchbase ConnectONLINE! We’ve talked a lot about the various sessions that we’re going to have at the free two-day conference including the four main tracks: Developer Experiences,...

October 15, 2021
Introducing Ottoman v2.0: An ODM for Node.js & Couchbase

Introducing Ottoman v2.0: An ODM for Node.js & Couchbase

On behalf of the Couchbase team, I’m absolutely thrilled to announce the General Availability of Ottoman 2.0. Ottoman is an Object Document Mapper (ODM) library for Couchbase and Node.js that maps JSON documents stored in Couchbase to native JavaScript objects....

September 30, 2021