-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
706 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/EdgeDB.Net.QueryBuilder/Extensions/GroupingExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using EdgeDB.Interfaces.Queries; | ||
using System.Linq.Expressions; | ||
|
||
namespace EdgeDB; | ||
|
||
public static class QueryBuilderGroupingExtensions | ||
{ | ||
// public static IGroupUsingQuery<TType, QueryContextSelfUsing<TType, TUsing>> Using<TType, TUsing>( | ||
// this IGroupQuery<TType, QueryContextSelf<TType>> query, Expression<Func<TType, TUsing>> expression) | ||
// { | ||
// return query.UsingInternal<TUsing, QueryContextSelfUsing<TType, TUsing>>(expression); | ||
// } | ||
// | ||
// public static IGroupUsingQuery<TType, GroupContext<TType, TUsing, TVars>> Using<TType, TUsing, TVars>( | ||
// this IGroupQuery<TType, QueryContext<TType, TVars>> query, Expression<Func<TType, TUsing>> expression) | ||
// { | ||
// return query.UsingInternal<TUsing, GroupContext<TType, TUsing, TVars>>(expression); | ||
// } | ||
|
||
// public static IGroupUsingQuery<TType, GroupContext<TType, TUsing, TVars>> Using<TType, TUsing, TVars, TOldContext>( | ||
// this IGroupQuery<TType, TOldContext> query, Expression<Func<TType, TUsing>> expression | ||
// ) where TOldContext : QueryContext<TType, TVars> | ||
// { | ||
// | ||
// } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace EdgeDB; | ||
|
||
public abstract class GroupContext<TUsing, TContext> : IQueryContextUsing<TUsing> where TContext : IQueryContext | ||
{ | ||
public abstract TUsing Using { get; } | ||
public abstract TContext Context { get; } | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.