diff --git a/chain.go b/chain.go index 2019c04..0d7c8bd 100644 --- a/chain.go +++ b/chain.go @@ -71,6 +71,10 @@ func (this *Query) Value(value interface{}) *Query { this.value = append(this.value, value) return this } +func (this *Query) Values(values []interface{}) *Query { + this.value = append(this.value, values...) + return this +} func (this *Query) Join(join []string) *Query { this.join = append(this.join, join) return this @@ -79,6 +83,10 @@ func (this *Query) Data(data string) *Query { this.data = append(this.data, data) return this } +func (this *Query) Datas(datas []string) *Query { + this.data = append(this.data, datas...) + return this +} // func (this *Query) Insert(where string) *Query { // this.insert = append(this.insert, where)