MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / LastInsertId

Method LastInsertId

client/result.go:25–27  ·  view source on GitHub ↗

LastInsertId return last inserted ID.

()

Source from the content-addressed store, hash-verified

23
24// LastInsertId return last inserted ID.
25func (r *execResult) LastInsertId() (int64, error) {
26 return r.lastInsertID, nil
27}
28
29// RowsAffected return how many rows affected.
30func (r *execResult) RowsAffected() (int64, error) {

Callers 7

TestExecResultFunction · 0.95
TestTransactionFunction · 0.45
ExecMethod · 0.45
ExecMethod · 0.45
CommitMethod · 0.45
ExecMethod · 0.45
writeMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestExecResultFunction · 0.76
TestTransactionFunction · 0.36