Skip to content

Instantly share code, notes, and snippets.

View martinesmann's full-sized avatar

Martin Esmann martinesmann

View GitHub Profile
@martinesmann
martinesmann / 0README.md
Last active November 2, 2023 14:02
Couchbase N1QL Samples.

#Learn N1QL by sample

N1QL is the document query language used to query data in Couchbase Server (CB). N1QL will be an integrated part of CB 4, until then there is a preview version available.

##SQL for JSON Documents N1QL is the first language to combine the flexibility of JSON with power of SQL queries. With N1QL you can run SQL like queries against your CB data without the need to pre-build views. N1QL enables advanced ad-hoc document queries in a familiar query language.

##Learning

@martinesmann
martinesmann / program.cs
Last active August 29, 2015 14:22
Upsert to CB Server
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Couchbase;
using Couchbase.Configuration.Client;
namespace CouchbaseConnect2015
{
class Program