Skip to content

Instantly share code, notes, and snippets.

@johnzablocki
Created September 3, 2012 21:14
Show Gist options
  • Save johnzablocki/3613613 to your computer and use it in GitHub Desktop.
Save johnzablocki/3613613 to your computer and use it in GitHub Desktop.
Couchbase .NET Client Library 1.2 API Sample
client.Store(StoreMode.Add, "beer_Atlantic_Amber", "{ Name = \"Atlantic Amber\" }");
var view = client.GetView("beers", "by_name");
foreach(var row in view)
{
Console.WriteLine(row.ItemId);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment