Skip to content

Commit

Permalink
Support for PhraseHelper.Union as input for a Join
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgindi committed Jul 4, 2019
1 parent 81fdc0e commit 9a7a233
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dg.Sql/Sql/Query/Builders.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ private void BuildJoin(StringBuilder sb, ConnectorBase connection)
{
sb.Append(((Query)join.RightTableSql).BuildCommand(connection));
}
else if (join.RightTableSql is IPhrase)
{
sb.Append(((IPhrase)join.RightTableSql).BuildPhrase(connection));
}
else
{
sb.Append(join.RightTableSql.ToString());
Expand Down

0 comments on commit 9a7a233

Please sign in to comment.