|
@ -63,6 +63,10 @@ func (this *Query) Where(where string) *Query { |
|
|
this.where = append(this.where, where) |
|
|
this.where = append(this.where, where) |
|
|
return this |
|
|
return this |
|
|
} |
|
|
} |
|
|
|
|
|
func (this *Query) Wheres(wheres []string) *Query { |
|
|
|
|
|
this.where = append(this.where, wheres...) |
|
|
|
|
|
return this |
|
|
|
|
|
} |
|
|
func (this *Query) WhereOr(where string) *Query { |
|
|
func (this *Query) WhereOr(where string) *Query { |
|
|
this.where_or = append(this.where_or, where) |
|
|
this.where_or = append(this.where_or, where) |
|
|
return this |
|
|
return this |
|
|