|
@ -71,6 +71,10 @@ func (this *Query) Value(value interface{}) *Query { |
|
|
this.value = append(this.value, value) |
|
|
this.value = append(this.value, value) |
|
|
return this |
|
|
return this |
|
|
} |
|
|
} |
|
|
|
|
|
func (this *Query) Values(values []interface{}) *Query { |
|
|
|
|
|
this.value = append(this.value, values...) |
|
|
|
|
|
return this |
|
|
|
|
|
} |
|
|
func (this *Query) Join(join []string) *Query { |
|
|
func (this *Query) Join(join []string) *Query { |
|
|
this.join = append(this.join, join) |
|
|
this.join = append(this.join, join) |
|
|
return this |
|
|
return this |
|
@ -79,6 +83,10 @@ func (this *Query) Data(data string) *Query { |
|
|
this.data = append(this.data, data) |
|
|
this.data = append(this.data, data) |
|
|
return this |
|
|
return this |
|
|
} |
|
|
} |
|
|
|
|
|
func (this *Query) Datas(datas []string) *Query { |
|
|
|
|
|
this.data = append(this.data, datas...) |
|
|
|
|
|
return this |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// func (this *Query) Insert(where string) *Query {
|
|
|
// func (this *Query) Insert(where string) *Query {
|
|
|
// this.insert = append(this.insert, where)
|
|
|
// this.insert = append(this.insert, where)
|
|
|