From 2a7d508c62d96c0479a72a456101bc2f893a1f11 Mon Sep 17 00:00:00 2001 From: Quin Lynch Date: Tue, 10 Oct 2023 17:52:19 -0300 Subject: [PATCH] remove test code --- examples/EdgeDB.Examples.CSharp/Examples/QueryBuilder.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/EdgeDB.Examples.CSharp/Examples/QueryBuilder.cs b/examples/EdgeDB.Examples.CSharp/Examples/QueryBuilder.cs index 8f451262..a806700e 100644 --- a/examples/EdgeDB.Examples.CSharp/Examples/QueryBuilder.cs +++ b/examples/EdgeDB.Examples.CSharp/Examples/QueryBuilder.cs @@ -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().Build().Prettify(); @@ -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()) ).Build().Prettify(); @@ -114,7 +112,7 @@ private static async Task QueryBuilderDemo(EdgeDBClient client) Email = "example@example.com", Name = "example" }; - + query = QueryBuilder.Insert(person).Build().Prettify(); // Complex insert with links & dealing with conflicts