Category: Eventing

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

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

In previous blogs, we covered executing N1QL (SQL++) from JavaScript functions, processing documents through iterators, manipulating data. and handling errors. We now move to executing dynamic statements. Prepared statements JavaScript functions can prepare and execute prepared statements, much like any request...

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...

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...

Creating a Smart Home Office with Couchbase – Part 1

Creating a Smart Home Office with Couchbase – Part 1

This post is the first of a series and will serve as an anchor point throughout the rest of the year as the project takes shape. At the time of writing, energy prices have soared around the world which has...

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...

Migrating Buckets to Collections & Scopes via Eventing: Part 2

Migrating Buckets to Collections & Scopes via Eventing: Part 2

Migrating Buckets to Collections & Scopes via Eventing: Part 2 Again (as I did in Part 1) I want to point out an excellent blog written by Shivani Gupta, How to Migrate to Scopes & Collections in Couchbase 7.0, which...

Migrating Buckets to Collections & Scopes via Eventing: Part 1

Migrating Buckets to Collections & Scopes via Eventing: Part 1

Migrating Buckets to Collections & Scopes via Eventing: Part 1 First I want to point out an excellent blog written by Shivani Gupta, How to Migrate to Scopes & Collections in Couchbase 7.0, which covers in great detail other methods...

Data Validation with the Eventing Service

Data Validation with the Eventing Service

Data Validation is an interesting topic to cover for a NoSQL technology, purely down to the fact that the core principles of the system revolve around a “schema-less” architecture. For many years, SQL and schemas have controlled application data, ensuring...

Couchbase Eventing Handling Errors and Retries

Couchbase Eventing Handling Errors and Retries

The Couchbase Eventing Service allows you to promptly act on mutations (or changes) to your data. All actions in Eventing are accomplished by executing a lambda, a small piece of business logic written in JavaScript. Common use cases include data...

What Is a Database-as-a-Service (DBaaS)? And Why Is It Important?

What Is a Database-as-a-Service (DBaaS)? And Why Is It Important?

Two decades on, the global shift to the cloud only continues to accelerate. As part of their larger digital transformation strategy, leading enterprises are investing in modern applications that are easy to use, evolve rapidly and deliver a highly customized...

Announcing Couchbase Server 7.0

Announcing Couchbase Server 7.0

Couchbase Server 7.0 solves the requirements of modern application development. In doing so, it settles the debate over using relational or NoSQL databases. There’s no more need to compromise. (Try it out for yourself here or skip straight to the...

How (and Why) to Use Couchbase as an XML Database

How (and Why) to Use Couchbase as an XML Database

Couchbase and XML – no problem! I’ve heard it said dozens of times: “Hey, Couchbase is great but I use XML.” I recognize that countering with, “Couchbase can be your XML database” is pretty bold, especially for a JSON-oriented document...