MCPcopy
hub / github.com/go-sql-driver/mysql / mysqlResult

Struct mysqlResult

result.go:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32type mysqlResult struct {
33 // One entry in both slices is created for every executed statement result.
34 affectedRows []int64
35 insertIds []int64
36}
37
38func (res *mysqlResult) LastInsertId() (int64, error) {
39 return res.insertIds[len(res.insertIds)-1], nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected