Documentation ¶
Overview ¶
Package sqlite provides access to the SQLite library, version 3.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrError error = Errno(1) // /* SQL error or missing database */ ErrInternal error = Errno(2) // /* Internal logic error in SQLite */ ErrPerm error = Errno(3) // /* Access permission denied */ ErrAbort error = Errno(4) // /* Callback routine requested an abort */ ErrBusy error = Errno(5) // /* The database file is locked */ ErrLocked error = Errno(6) // /* A table in the database is locked */ ErrNoMem error = Errno(7) // /* A malloc() failed */ ErrReadOnly error = Errno(8) // /* Attempt to write a readonly database */ ErrInterrupt error = Errno(9) // /* Operation terminated by sqlite3_interrupt()*/ ErrIOErr error = Errno(10) // /* Some kind of disk I/O error occurred */ ErrCorrupt error = Errno(11) // /* The database disk image is malformed */ ErrFull error = Errno(13) // /* Insertion failed because database is full */ ErrCantOpen error = Errno(14) // /* Unable to open the database file */ ErrEmpty error = Errno(16) // /* Database is empty */ ErrSchema error = Errno(17) // /* The database schema changed */ ErrTooBig error = Errno(18) // /* String or BLOB exceeds size limit */ ErrConstraint error = Errno(19) // /* Abort due to constraint violation */ ErrMismatch error = Errno(20) // /* Data type mismatch */ ErrMisuse error = Errno(21) // /* Library used incorrectly */ ErrNolfs error = Errno(22) // /* Uses OS features not supported on host */ ErrAuth error = Errno(23) // /* Authorization denied */ ErrFormat error = Errno(24) // /* Auxiliary database format error */ ErrRange error = Errno(25) // /* 2nd parameter to sqlite3_bind out of range */ ErrNotDB error = Errno(26) // /* File opened that is not a database file */ Row = Errno(100) // /* sqlite3_step() has another row ready */ Done = Errno(101) // /* sqlite3_step() has finished executing */ )
Functions ¶
Types ¶
type Backup ¶
type Backup struct {
// contains filtered or unexported fields
}
func (*Backup) Status ¶
func (b *Backup) Status() BackupStatus
type BackupStatus ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func (*Conn) BusyTimeout ¶
type Stmt ¶
type Stmt struct {
// contains filtered or unexported fields
}
func (*Stmt) Nanoseconds ¶
Click to show internal directories.
Click to hide internal directories.