MCPcopy Create free account
hub / github.com/Masterminds/structable / LastInsertId

Method LastInsertId

structable_test.go:337–339  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

335}
336
337func (r *ResultStub) LastInsertId() (int64, error) {
338 return r.id, nil
339}
340func (r *ResultStub) RowsAffected() (int64, error) {
341 return r.affectedRows, nil
342}

Callers 9

insertStdMethod · 0.80
TestPlainStructLoadFunction · 0.80
TestPlainStructLoadWhereFunction · 0.80
TestPlainStructUpdateFunction · 0.80
TestPlainStructDeleteFunction · 0.80
TestPlainStructExistsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected