Tag: functions

A Guide to Serverless Functions
A Guide to Serverless Functions

This blog post from Couchbase will provide an overview of serverless functions. Learn how they work, when to use them, and what their benefits are here!

From N1QL to JavaScript and Back – Part 6: Advanced Topics
From N1QL to JavaScript and Back – Part 6: Advanced Topics

Continuing our series, we turn to a few advanced usage concepts covering JavaScript functions calling functions, RBAC, transactions and more.

From N1QL to JavaScript and Back – Part 5: Prepared statements
From N1QL to JavaScript and Back – Part 5: Prepared statements

Continuing our series, we turn to all the ways to gather and manipulate data by executing SQL++/N1QL statements within JavaScript functions.

From N1QL to JavaScript and back – Part 4: Error Handling
From N1QL to JavaScript and back – Part 4: Error Handling

In previous blogs, we have covered executing N1QL from JavaScript functions, processing documents through iterators, and manipulating data. We now move onto handling errors from N1QL statements. Error handling When an error of any nature is encountered, the jsevaluator by...

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

Learn the basics of iterators in N1QL/Javascript and Couchbase, the corresponding function, processing documents through N1QL and executing data manipulation.

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

In the previous blog introduced to you new features in JavaScript user-defined functions. We are now going to explore them in more detail. Learn more.

From N1QL to Javascript and Back – Part 1: Introduction
From N1QL to Javascript and Back – Part 1: Introduction

This blog gives you a taster of N1QL and the JavaScript User Defined Functions (UDF) features in Couchbase Server 7.1. Learn more with Couchbase.

Eventing Service Improvements in Couchbase Server 6.5
Eventing Service Improvements in Couchbase Server 6.5

Couchbase Server 6.5 introduces a set of important improvements to the Eventing Service: full access to the source bucket, curl function, possibility to pause and to resume deployed functions.

Using cURL with the Eventing Service: Update
Using cURL with the Eventing Service: Update

CURL is a utility function that has been available as a Developer Preview feature in Couchbase Eventing. Improvements are coming in the next release.

Using N1QL with Couchbase Eventing Functions.
Using N1QL with Couchbase Eventing Functions.

Now, this is not the end. It is not even the beginning of the end. But it is, perhaps, the end of the beginning. — Winston Churchill Updating data is usually not the end, but usually a progress of a...

Timers in Couchbase Functions
Timers in Couchbase Functions

Timers are constructs by which developers can specify a business logic to be triggered in reference to wall-clock events. Use-cases : Archive documents before expiry, do timed calculations, send notifications at a specific time.

Eventing: Notification with Couchbase Functions
Eventing: Notification with Couchbase Functions

Eventing is a new service available in Couchbase Server. The Cincinnati Reds are interested in using this feature to more quickly serve their VIP customers.