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
7 changed files
with
81 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace FluentSQL.Tests.Api | ||
{ | ||
public class ExampleParameters | ||
{ | ||
public int Limit { get; set; } | ||
public string InvoiceNumber { get; set; } | ||
} | ||
} |
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 FluentSQL.Tests.Api | ||
{ | ||
public class SubqueryResult | ||
{ | ||
public int InvoiceIdFromSubquery { get; set; } | ||
} | ||
} |
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,8 @@ | ||
namespace FluentSQL.Tests.Api | ||
{ | ||
public class UnionResult | ||
{ | ||
public string CustomerName { get; set; } | ||
public int TotalAmount { get; set; } | ||
} | ||
} |
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,12 @@ | ||
namespace FluentSQL.Compilation.Parser | ||
{ | ||
public class FromNode : AstNode | ||
{ | ||
public FromNode(string @alias) | ||
{ | ||
Alias = alias; | ||
} | ||
|
||
public string Alias { get; } | ||
} | ||
} |
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,14 @@ | ||
namespace FluentSQL.Compilation.Parser | ||
{ | ||
public class UnionAllNode : AstNode | ||
{ | ||
public UnionAllNode(AstNode first, AstNode second) | ||
{ | ||
First = first; | ||
Second = second; | ||
} | ||
|
||
public AstNode First { get; } | ||
public AstNode Second { get; } | ||
} | ||
} |
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,14 @@ | ||
namespace FluentSQL.Compilation.Parser | ||
{ | ||
public class UnionNode : AstNode | ||
{ | ||
public UnionNode(AstNode first, AstNode second) | ||
{ | ||
First = first; | ||
Second = second; | ||
} | ||
|
||
public AstNode First { get; } | ||
public AstNode Second { get; } | ||
} | ||
} |