More unit tests.
This commit is contained in:
parent
8a2c34fbd7
commit
7fc99ac997
7 changed files with 46 additions and 632 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue