Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Elfocrash committed Dec 15, 2018
1 parent 8c3f727 commit 437495c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ var users = await cosmoStore.Query().Where(x => x.HairColor == HairColor.Black).

```csharp
// plain sql query
var user = await cosmoStore.Query("select * from c w.Firstname = 'Smith'").ToListAsync();
var user = await cosmoStore.Query("select * from c where c.Firstname = 'Smith'").ToListAsync();
or
var user = await cosmoStore.QueryMultipleAsync("select * from c w.Firstname = 'Smith'");
var user = await cosmoStore.QueryMultipleAsync("select * from c where c.Firstname = 'Smith'");

// or parameterised sql query
var user = await cosmoStore.QueryMultipleAsync("select * from c w.Firstname = @name", new { name = "Smith" });
var user = await cosmoStore.QueryMultipleAsync("select * from c where c.Firstname = @name", new { name = "Smith" });
```

#### Collection sharing
Expand Down

0 comments on commit 437495c

Please sign in to comment.