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