Fix unit tests.
This commit is contained in:
parent
9b826fff6e
commit
eccc17dc8a
10 changed files with 91 additions and 72 deletions
|
|
@ -54,6 +54,10 @@ func (u *insertStatementImpl) Execute(db types.Db) (res sql.Result, err error) {
|
|||
|
||||
// expression or default keyword
|
||||
func (s *insertStatementImpl) VALUES(values ...interface{}) InsertStatement {
|
||||
if len(values) == 0 {
|
||||
return s
|
||||
}
|
||||
|
||||
literalRow := []Clause{}
|
||||
|
||||
for _, value := range values {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue