|
@@ -17,7 +17,9 @@ func NewConditions() *Conditions {
|
|
|
|
|
|
func (conditions *Conditions) AddCondition(query string, args ...any) *Conditions {
|
|
|
conditions.queries = append(conditions.queries, query)
|
|
|
- conditions.args = append(conditions.args, args)
|
|
|
+ for _, arg := range args {
|
|
|
+ conditions.args = append(conditions.args, []any{arg})
|
|
|
+ }
|
|
|
return conditions
|
|
|
}
|
|
|
|