Getting familiar with Couchbase for .NET SDK 3

Collections and Scopes

Documents of similar types makes a collection, which in turn a part of a bucket.
Buckets consist of Collectins which contains documents.
  • The logical grouping of similar documents, potentially simplifying operations such as query, XDCR (Cross Data Centralized Replication), and backup and restore.
  • The increased efficiency of indexing, due to the Data Service being able to provide documents from specific collections to the Index Service.
  • Simplified querying, since query statements are able more easily to specify particular subsets of documents from Scope-Collection combination.
  • Easier migration from relational databases to Couchbase Server, since collections, can be designed to correspond to pre-existing relational tables.
    Parallel to RDBMS,
    The bucket is adjacent to Database.
    The scope is adjacent to Schema.
    The collection is adjacent to Table.
    The document is adjacent to Row.
  • Secure isolation of different document-types, within a bucket, allowing applications to be specifically authorized to use only their appropriate subsets of data

Asynchronous Programming

TTL Support in Query

N1QL Query and Indexing Enhancements

Get Document

Exception Handling

--

--

--

Software Developer | Technology enthusiast.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

My experience using vim commands

Linear Regression, Not as Simple as You Think

oneAPI as a Catalyst for Open Innovation

Why Google Cloud is a good choice for SMBs

UUID or GUID as Primary Keys? Be Careful!

Why DevOps is Crucial for your Business?

Ansible Tower: Loading partial Satellite inventories

Welcome to NodeBunch. A futuristic AMM DEX

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Piyush Doorwar

Piyush Doorwar

Software Developer | Technology enthusiast.

More from Medium

SOAP web services in .NET Core

How to write your own discord bot on .NET 6

Setup visual studio 2022 and Web application with ASP.NET MVC 6.0

All about the Category