Documentation ¶
Index ¶
Constants ¶
View Source
const ( Ok = iota // Successful result Error // SQL error or missing database Internal // Internal logic error in SQLite Perm // Access permission denied Abort // Callback routine requested an abort Busy // The database file is locked Locked // A table in the database is locked NoMem // A malloc() failed ReadOnly // Attempt to write a readonly database Interrupt // Operation terminated by sqlite3_interrupt() IoErr // Some kind of disk I/O error occurred Corrupt // The database disk image is malformed NotFound // NOT USED. Table or record not found Full // Insertion failed because database is full CantOpen // Unable to open the database file Protocol // NOT USED. Database lock protocol error Empty // Database is empty Schema // The database schema changed TooBig // String or BLOB exceeds size limit Constraint // Abort due to constraint violation Mismatch // Data type mismatch Misuse // Library used incorrectly NoLfs // Uses OS features not supported on host Auth // Authorization denied Format // Auxiliary database format error Range // 2nd parameter to sqlite3_bind out of range NotADb // File opened that is not a database file StatusRow = 100 // sqlite3_step() has another row ready StatusDone = 101 // sqlite3_step() has finished executing )
Variables ¶
View Source
var ( DatabaseHeader = []byte{0x53, 0x51, 0x4c, 0x69, 0x74, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x20, 0x33, 0x00} ValueTypeString = [6]string{"Null", "Int", "Float", "Text", "Blob"} )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.