Category: Couchbase SDK

Using libcouchbase / C SDK to run transactions with Couchbase 7.0
Couchbase Server 7.0 now supports N1QL transactions. Let’s try writing a C program that performs a set of transactions on a single node. Step 1: We first decide how to call the program. The inputs will be the URL to...

How to Take Python Input in Couchbase
Writing software is never easy. Writing software that appeals to users requires interacting with them. So do you get relevant data that you can put to use on behalf of users? Python – the most-wanted language for building software according...

Introduction to Ottoman With Couchbase
Ottoman is an Object Data Modeler (ODM) for Couchbase’s Node.js SDK providing JSON schema and validation for NoSQL. Why Use an ODM for Couchbase With Ottoman, you declare schema in your code. Although Couchbase has no schema enforcement for your...

New Features in Couchbase SDK 3.1!
In the spring of 2020, we released the latest revamp of the Couchbase SDK: 3.0. Shipping alongside Couchbase Server 6.5.0 and offering early, experimental support for Scopes and Collections, it also included a completely new API and consistency across the...

Data Structures & Queries with Couchbase N1QL (SQL for JSON)
In the Data Structures for NoSQL Applications post, we used simplified JSON data access through native collections, maps, and more. This post demonstrates querying that data using higher-level N1QL queries, the SQL-based language for JSON. Developers can focus on managing...

Data Structures & Algorithms For NoSQL Applications
This article introduces Data Structures and how they work with Couchbase Server 7.0 Scopes and Collections features. What are data structures? Couchbase Data Structures is an API feature that aligns the language of the database interface with a programming language....

Using SDKs With Couchbase Cloud Free Trial – Tutorial Posted
Learn how to use Couchbase SDKs with the Couchbase Cloud Self-Service Free Trial In my last post I talked about the launch of the Couchbase Cloud Self-Service Free Trial Tutorial Series, in this brief post I wanted to highlight the...

Using NoSQL for Geospatial Search Without a Spatial Database
Introduction Couchbase Full Text Search (FTS) is a great tool for indexing and querying geospatial data. In this article, I’ll present a geospatial search use case and demonstrate the various ways that we can perform a search of location data...

Announcing Couchbase Ruby SDK 3.0 (Beta)
“ No, your eyes do not deceive you, you read correctly. The Couchbase Ruby SDK is back by popular demand and we are thrilled to make this announcement ! ” Useful Links Read Couchbase Ruby SDK 3.0 documentation Read...

Migrating Data from MongoDB to Couchbase, Part 2
Prolog The previous article provided details on how to migrate a MongoDB data set to Couchbase Server. This article shows you how to use the Couchbase SDK to access the data via a Java console application. Code snippets show how...

Refactoring Spring Microservices Apps to work with Couchbase
I’m a big fan of online learning platforms, such as Udemy. For the price of a bottle of wine, you could learn pretty much anything, from psychology and Thai cooking to programming languages, operating systems and IT certifications. Recently, I...

Using Elasticsearch Connector with Ingest Node Pipeline
Recently, as I was exploring our documentation to acquaint myself with the capabilities of Elasticsearch Connector 4.2, I came across a configuration called Pipeline. I was curious to explore and understand what it means and what purpose does this solve....