MySQL insert statement tests.

This commit is contained in:
go-jet 2019-08-01 17:45:11 +02:00
parent 6af43f0c46
commit a46e8c1c51
5 changed files with 309 additions and 0 deletions

View file

@ -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()