Skip to content

Commit

Permalink
OuterJoin bug修复
Browse files Browse the repository at this point in the history
  • Loading branch information
liningit committed Sep 12, 2019
1 parent 3e9887c commit 80bcca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LnskyDB/Internal/QueryInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public IQuery<T> QueryiSearch<TProperty>(Expression<Func<T, TProperty>> field, s

public IJoinQuery<TResult> OuterJoin<TR, TKey, TResult>(IQuery<TR> rightQuery, Expression<Func<T, TKey>> leftKeySelector, Expression<Func<TR, TKey>> rightKeySelector, Expression<Func<T, TR, TResult>> resultSelector) where TR : BaseDBModel, new()
{
return Join("OUTER", rightQuery, leftKeySelector, rightKeySelector, resultSelector);
return Join("LEFT OUTER", rightQuery, leftKeySelector, rightKeySelector, resultSelector);
}
public IJoinQuery<TResult> InnerJoin<TR, TKey, TResult>(IQuery<TR> rightQuery, Expression<Func<T, TKey>> leftKeySelector, Expression<Func<TR, TKey>> rightKeySelector, Expression<Func<T, TR, TResult>> resultSelector) where TR : BaseDBModel, new()
{
Expand Down

0 comments on commit 80bcca8

Please sign in to comment.