Skip to content

Commit

Permalink
remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
quinchs committed Oct 10, 2023
1 parent f1bd9d4 commit 2a7d508
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions examples/EdgeDB.Examples.CSharp/Examples/QueryBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ public async Task ExecuteAsync(EdgeDBClient client)

private static async Task QueryBuilderDemo(EdgeDBClient client)
{
Grammar.ArrayConcat(null!, null);

// Selecting a type with autogen shape
var query = QueryBuilder.Select<Person>().Build().Prettify();

Expand All @@ -65,9 +63,9 @@ private static async Task QueryBuilderDemo(EdgeDBClient client)
p.BestFriend
})
).Build().Prettify();

// selecting things that are not types
query = QueryBuilder.SelectExp(() =>
query = QueryBuilder.SelectExp(() =>
EdgeQL.Count(QueryBuilder.Select<Person>())
).Build().Prettify();

Expand Down Expand Up @@ -114,7 +112,7 @@ private static async Task QueryBuilderDemo(EdgeDBClient client)
Email = "[email protected]",
Name = "example"
};

query = QueryBuilder.Insert(person).Build().Prettify();

// Complex insert with links & dealing with conflicts
Expand Down

0 comments on commit 2a7d508

Please sign in to comment.