using (var session = documentStore.OpenSession()) { var results = session.Advanced.DocumentQuery() .ToList(); }
using (var session = documentStore.OpenSession()) { var results = session.Advanced.DocumentQueryIn this example, we are using the WhereEquals method to filter the query results to only include documents where the FirstName property equals "John". Package library: RavenDB.Client.() .WhereEquals(u => u.FirstName, "John") .ToList(); }