/qdb-api-dotnet

.NET API for quasardb

Primary LanguageC#OtherNOASSERTION

quasardb .NET API

This is the quasardb API for .NET.

Introduction

Here is a quick intro, please review the official documentation for more detail.

Connecting to a cluster:

var cluster = new QdbCluster("qdb://127.0.0.1:2836");

Insert and retrieve binary data:

cluster.Blob("my blob").Put(myByteArray);
var myByteArray = cluster.Blob("my blob").Get();

Push and pop from a queue:

cluster.Deque("my double-ended queue").PushBack(myByteArray);
myByteArray = cluster.Deque("my double-ended queue").PopFront();

Create and update an atomic integer:

cluster.Integer("my counter").Put(1934);
cluster.Integer("my counter").Add(22);

Got to the official documentation

Compiling

Download the following files to your local copy of the repository:

Open the solution Quasardb.sln in Visual Studio.

Testing

Start quasardb using scripts/tests/setup/start-services.sh