More unit tests.

This commit is contained in:
go-jet 2019-06-16 11:20:44 +02:00
parent 8a2c34fbd7
commit 7fc99ac997
7 changed files with 46 additions and 632 deletions

View file

@ -87,7 +87,7 @@ func (i *insertStatementImpl) Sql() (sql string, args []interface{}, err error)
}
if len(i.rows) == 0 && i.query == nil {
return "", nil, errors.New("no row values or query specified")
return "", nil, errors.New("no row values or query specified")
}
if len(i.rows) > 0 && i.query != nil {