Tag: User Defined Function (UDF)

A Tool to Ease Your Transition From Oracle PL/SQL to Couchbase JavaScript UDF
A Tool to Ease Your Transition From Oracle PL/SQL to Couchbase JavaScript UDF

Convert PL/SQL to JavaScript UDFs seamlessly with an AI-powered tool. Automate Oracle PL/SQL migration to Couchbase with high accuracy using ANTLR and LLMs.

Improved Debuggability for SQL++ User-Defined Functions
Improved Debuggability for SQL++ User-Defined Functions

Couchbase 7.6 introduces new features to debug user-defined functions (UDFs) which will help users peek into execution easily. Learn about them here.

Recursive Query Processing in SQL++ (N1QL)
Recursive Query Processing in SQL++ (N1QL)

Users can emulate recursive CTE using JavaScript UDFs with existing infrastructure. This Couchbase blog post demonstrates just how to do that and more!

From N1QL to JavaScript and Back – Part 7: Hierarchical JavaScript Storage
From N1QL to JavaScript and Back – Part 7: Hierarchical JavaScript Storage

In previous blogs, we covered executing N1QL (SQL++) from JavaScript functions, processing documents through iterators, manipulating data, handling errors, prepared statements and other advanced topics. The final topic to cover is a newly added feature to 7.1 that enables JavaScript library storage options....

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.

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

In Couchbase 7.1 you can now execute SQL++ DMLs from within the JavaScript UDF code shown in this hierarchy traversal example.

What’s New In Couchbase Server 7.1
What’s New In Couchbase Server 7.1

Couchbase Server 7.1 is the database to fight inflation. It is packed with new inflation-fighting features to help you manage costs.