Partial JOIN implementation

This commit is contained in:
Pijus Kamandulis
2024-07-17 21:40:28 +03:00
parent 3bdff9b643
commit 20af73ee9c
7 changed files with 1866 additions and 1536 deletions

View File

@@ -3,6 +3,7 @@ package parsers
type SelectStmt struct {
SelectItems []SelectItem
Table Table
JoinItems []JoinItem
Filters interface{}
Distinct bool
Count int
@@ -16,6 +17,11 @@ type Table struct {
Value string
}
type JoinItem struct {
Table Table
SelectItem SelectItem
}
type SelectItemType int
const (