Versions in this module Expand all Collapse all v1 v1.1.0 Sep 5, 2015 v1.0.0 Jun 29, 2015 Changes in this version + const ErrNoMask + var ErrAbort = ErrNo(4) + var ErrAbortRollback = ErrAbort.Extend(2) + var ErrAuth = ErrNo(23) + var ErrBusy = ErrNo(5) + var ErrBusyRecovery = ErrBusy.Extend(1) + var ErrBusySnapshot = ErrBusy.Extend(2) + var ErrCantOpen = ErrNo(14) + var ErrCantOpenConvPath = ErrCantOpen.Extend(4) + var ErrCantOpenFullPath = ErrCantOpen.Extend(3) + var ErrCantOpenIsDir = ErrCantOpen.Extend(2) + var ErrCantOpenNoTempDir = ErrCantOpen.Extend(1) + var ErrConstraint = ErrNo(19) + var ErrConstraintCheck = ErrConstraint.Extend(1) + var ErrConstraintCommitHook = ErrConstraint.Extend(2) + var ErrConstraintForeignKey = ErrConstraint.Extend(3) + var ErrConstraintFunction = ErrConstraint.Extend(4) + var ErrConstraintNotNull = ErrConstraint.Extend(5) + var ErrConstraintPrimaryKey = ErrConstraint.Extend(6) + var ErrConstraintRowId = ErrConstraint.Extend(10) + var ErrConstraintTrigger = ErrConstraint.Extend(7) + var ErrConstraintUnique = ErrConstraint.Extend(8) + var ErrConstraintVTab = ErrConstraint.Extend(9) + var ErrCorrupt = ErrNo(11) + var ErrCorruptVTab = ErrCorrupt.Extend(1) + var ErrEmpty = ErrNo(16) + var ErrError = ErrNo(1) + var ErrFormat = ErrNo(24) + var ErrFull = ErrNo(13) + var ErrInternal = ErrNo(2) + var ErrInterrupt = ErrNo(9) + var ErrIoErr = ErrNo(10) + var ErrIoErrAccess = ErrIoErr.Extend(13) + var ErrIoErrBlocked = ErrIoErr.Extend(11) + var ErrIoErrCheckReservedLock = ErrIoErr.Extend(14) + var ErrIoErrClose = ErrIoErr.Extend(16) + var ErrIoErrConvPath = ErrIoErr.Extend(26) + var ErrIoErrDelete = ErrIoErr.Extend(10) + var ErrIoErrDeleteNoent = ErrIoErr.Extend(23) + var ErrIoErrDirClose = ErrIoErr.Extend(17) + var ErrIoErrDirFsync = ErrIoErr.Extend(5) + var ErrIoErrFstat = ErrIoErr.Extend(7) + var ErrIoErrFsync = ErrIoErr.Extend(4) + var ErrIoErrGetTempPath = ErrIoErr.Extend(25) + var ErrIoErrLock = ErrIoErr.Extend(15) + var ErrIoErrMMap = ErrIoErr.Extend(24) + var ErrIoErrNoMem = ErrIoErr.Extend(12) + var ErrIoErrRDlock = ErrIoErr.Extend(9) + var ErrIoErrRead = ErrIoErr.Extend(1) + var ErrIoErrSHMLock = ErrIoErr.Extend(20) + var ErrIoErrSHMMap = ErrIoErr.Extend(21) + var ErrIoErrSHMOpen = ErrIoErr.Extend(18) + var ErrIoErrSHMSize = ErrIoErr.Extend(19) + var ErrIoErrSeek = ErrIoErr.Extend(22) + var ErrIoErrShortRead = ErrIoErr.Extend(2) + var ErrIoErrTruncate = ErrIoErr.Extend(6) + var ErrIoErrUnlock = ErrIoErr.Extend(8) + var ErrIoErrWrite = ErrIoErr.Extend(3) + var ErrLocked = ErrNo(6) + var ErrLockedSharedCache = ErrLocked.Extend(1) + var ErrMismatch = ErrNo(20) + var ErrMisuse = ErrNo(21) + var ErrNoLFS = ErrNo(22) + var ErrNomem = ErrNo(7) + var ErrNotADB = ErrNo(26) + var ErrNotFound = ErrNo(12) + var ErrNotice = ErrNo(27) + var ErrNoticeRecoverRollback = ErrNotice.Extend(2) + var ErrNoticeRecoverWAL = ErrNotice.Extend(1) + var ErrPerm = ErrNo(3) + var ErrProtocol = ErrNo(15) + var ErrRange = ErrNo(25) + var ErrReadonly = ErrNo(8) + var ErrReadonlyCantLock = ErrReadonly.Extend(2) + var ErrReadonlyDbMoved = ErrReadonly.Extend(4) + var ErrReadonlyRecovery = ErrReadonly.Extend(1) + var ErrReadonlyRollback = ErrReadonly.Extend(3) + var ErrSchema = ErrNo(17) + var ErrTooBig = ErrNo(18) + var ErrWarning = ErrNo(28) + var ErrWarningAutoIndex = ErrWarning.Extend(1) + var SQLiteTimestampFormats = []string + func Version() (libVersion string, libVersionNumber int, sourceId string) + type ErrNo int + func (err ErrNo) Error() string + func (err ErrNo) Extend(by int) ErrNoExtended + type ErrNoExtended int + func (err ErrNoExtended) Error() string + type Error struct + Code ErrNo + ExtendedCode ErrNoExtended + func (err Error) Error() string + type SQLiteBackup struct + func (b *SQLiteBackup) Close() error + func (b *SQLiteBackup) Finish() error + func (b *SQLiteBackup) PageCount() int + func (b *SQLiteBackup) Remaining() int + func (b *SQLiteBackup) Step(p int) (bool, error) + type SQLiteConn struct + func (c *SQLiteConn) AutoCommit() bool + func (c *SQLiteConn) Backup(dest string, conn *SQLiteConn, src string) (*SQLiteBackup, error) + func (c *SQLiteConn) Begin() (driver.Tx, error) + func (c *SQLiteConn) Close() error + func (c *SQLiteConn) Exec(query string, args []driver.Value) (driver.Result, error) + func (c *SQLiteConn) Prepare(query string) (driver.Stmt, error) + func (c *SQLiteConn) Query(query string, args []driver.Value) (driver.Rows, error) + type SQLiteDriver struct + ConnectHook func(*SQLiteConn) error + Extensions []string + func (d *SQLiteDriver) Open(dsn string) (driver.Conn, error) + type SQLiteResult struct + func (r *SQLiteResult) LastInsertId() (int64, error) + func (r *SQLiteResult) RowsAffected() (int64, error) + type SQLiteRows struct + func (rc *SQLiteRows) Close() error + func (rc *SQLiteRows) Columns() []string + func (rc *SQLiteRows) Next(dest []driver.Value) error + type SQLiteStmt struct + func (s *SQLiteStmt) Close() error + func (s *SQLiteStmt) Exec(args []driver.Value) (driver.Result, error) + func (s *SQLiteStmt) NumInput() int + func (s *SQLiteStmt) Query(args []driver.Value) (driver.Rows, error) + type SQLiteTx struct + func (tx *SQLiteTx) Commit() error + func (tx *SQLiteTx) Rollback() error