Row and Array Comparisons (IN, NOT_IN).

This commit is contained in:
zer0sub 2019-06-04 11:52:37 +02:00
parent d69c67569a
commit 384c0c67f5
19 changed files with 170 additions and 231 deletions

View file

@ -59,7 +59,7 @@ func (i *insertStatementImpl) VALUES(values ...interface{}) insertStatement {
if clause, ok := value.(clause); ok {
literalRow = append(literalRow, clause)
} else {
literalRow = append(literalRow, Literal(value))
literalRow = append(literalRow, literal(value))
}
}
@ -97,7 +97,7 @@ func (i *insertStatementImpl) VALUES_MAPPING(data interface{}) insertStatement {
return i
}
rowValues = append(rowValues, Literal(structField.Interface()))
rowValues = append(rowValues, literal(structField.Interface()))
}
i.rows = append(i.rows, rowValues)