-
Notifications
You must be signed in to change notification settings - Fork 12
Querying
Paul Stovell edited this page Apr 23, 2020
·
2 revisions
Nevermore provides a variety of ways to query data. The most common form is querying documents, but it's also possible to query other types of objects. This page attempts to explain the different ways to query and provides examples of when you would use them.
Document queries are the most common form of query you'll write. There's essentially two ways to get documents: Load
and Query
:
var customer = transaction.Load<Customer>("Customers-15"); // Get a single customer
var customers = transaction.Query<Customer>().ToList(); // Gets all customers
Overview
Getting started
Extensibility
Misc