mirror of
https://github.com/pikami/cosmium.git
synced 2025-12-19 17:00:37 +00:00
Partial JOIN implementation
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user