Category: Couchbase SDK

Using the Java SDK for Couchbase: The Basics of Get & Upsert

Using the Java SDK for Couchbase: The Basics of Get & Upsert

Using Java with Couchbase doesn’t have to be hard, even for a new developer. In this quickstart tutorial, we’re going to walk through the basics of creating and fetching JSON documents in Couchbase using the Java SDK. With minimalist code...

July 20, 2021
J is for June, July & Java Developers

J is for June, July & Java Developers

As Java developers begin planning their June and July vacations, we felt it would be appropriate to celebrate our own commitment to a four-letter word that starts with J: Java. At Couchbase, this June and July are dedicated to Java...

Using libcouchbase / C SDK to run transactions with Couchbase 7.0

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

June 7, 2021
How to Take Python Input in Couchbase

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

June 2, 2021
Introduction to Ottoman With Couchbase

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

March 30, 2021
New Features in Couchbase SDK 3.1!

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)

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

January 27, 2021
Data Structures & Algorithms For NoSQL Applications

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

January 22, 2021
Using SDKs With Couchbase Cloud Free Trial – Tutorial Posted

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

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)

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

August 11, 2020
Migrating Data from MongoDB to Couchbase, Part 2

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