You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gosqlite is missing a function to retrieve the id of the last inserted row, as
documented on <http://www.sqlite.org/c3ref/last_insert_rowid.html>.
Fortunately, adding it is trivial:
func (c *Conn) LastInsertRowID() (int64) {
return int64(C.sqlite3_last_insert_rowid(c.db))
}
Original issue reported on code.google.com by shellr...@gmail.com on 16 Jan 2011 at 3:35
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
shellr...@gmail.com
on 16 Jan 2011 at 3:35The text was updated successfully, but these errors were encountered: