Skip to content

Playing around with converting LINQ to Cosmos DB SQL syntax

Notifications You must be signed in to change notification settings

RichardMisiak/cosmos-query-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cosmos-query-builder

Playing around with converting LINQ to Cosmos DB SQL syntax

Example

  QueryBuilder<TestClass>
      .Where("c", x => x.StringProp1 == "a" || (x.StringProp2 == "b" && x.StringProp1 == "c"));
  // (c.StringProp1 = 'a') OR (c.StringProp2 = 'b' AND c.StringProp1 = 'c')

About

Playing around with converting LINQ to Cosmos DB SQL syntax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages