MySQL insert statement tests.
This commit is contained in:
parent
6af43f0c46
commit
a46e8c1c51
5 changed files with 309 additions and 0 deletions
|
|
@ -130,6 +130,10 @@ func (q *sqlBuilder) writeReturning(statement statementType, returning []project
|
|||
return nil
|
||||
}
|
||||
|
||||
if !q.dialect.SupportsReturning {
|
||||
panic(q.dialect.Name + " dialect does not support RETURNING.")
|
||||
}
|
||||
|
||||
q.newLine()
|
||||
q.writeString("RETURNING")
|
||||
q.increaseIdent()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue