forked from mirror/go-sqlite3
parent
d6f416f91c
commit
85bf186e05
|
@ -1867,7 +1867,7 @@ func (s *SQLiteStmt) query(ctx context.Context, args []namedValue) (driver.Rows,
|
||||||
return rows, nil
|
return rows, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// LastInsertId teturn last inserted ID.
|
// LastInsertId return last inserted ID.
|
||||||
func (r *SQLiteResult) LastInsertId() (int64, error) {
|
func (r *SQLiteResult) LastInsertId() (int64, error) {
|
||||||
return r.id, nil
|
return r.id, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue