Documentation
¶
Overview ¶
Package sqlite_db contains common types and functions for storing data in a sqlite database.
Index ¶
Constants ¶
View Source
const (
LastRowIdSQL = "select last_insert_rowid()"
)
Variables ¶
View Source
var ( AlreadyClosed = errors.New("sqlite_db: Already Closed") NoResult = errors.New("sqlite_db: No result") )
Functions ¶
func LastRowIdFromStmt ¶
LastRowIdFromStmt returns the Id of the last inserted row in database. stmt should be a prepared statement created from LastRowIdSQL.
Types ¶
Click to show internal directories.
Click to hide internal directories.