Remove unused fields
This commit is contained in:
parent
535c86bca0
commit
f98ff568fb
1 changed files with 14 additions and 17 deletions
|
@ -27,23 +27,20 @@ type join struct {
|
||||||
|
|
||||||
// Query holds the state for the built up query
|
// Query holds the state for the built up query
|
||||||
type Query struct {
|
type Query struct {
|
||||||
executor Executor
|
executor Executor
|
||||||
plainSQL plainSQL
|
plainSQL plainSQL
|
||||||
delete bool
|
delete bool
|
||||||
update map[string]interface{}
|
update map[string]interface{}
|
||||||
selectCols []string
|
selectCols []string
|
||||||
count bool
|
count bool
|
||||||
from []string
|
from []string
|
||||||
innerJoins []join
|
innerJoins []join
|
||||||
outerJoins []join
|
where []where
|
||||||
leftOuterJoins []join
|
groupBy []string
|
||||||
rightOuterJoins []join
|
orderBy []string
|
||||||
where []where
|
having []string
|
||||||
groupBy []string
|
limit int
|
||||||
orderBy []string
|
offset int
|
||||||
having []string
|
|
||||||
limit int
|
|
||||||
offset int
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func buildQuery(q *Query) (string, []interface{}) {
|
func buildQuery(q *Query) (string, []interface{}) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue