Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TestErrUniqueConstraintViolation = sqlite3.Error{Code: sqlite3.ErrConstraint, ExtendedCode: sqlite3.ErrConstraintUnique} TestErrBusy = sqlite3.Error{Code: sqlite3.ErrBusy} TestErrLocked = sqlite3.Error{Code: sqlite3.ErrLocked} )
The errors below are used in tests to simulate specific SQLite errors. It's a temporary solution until we rewrite the tests not to depend on the sqlite3 package internals directly.
Functions ¶
func ErrorMessage ¶
func IsBusyOrLocked ¶
Types ¶
type Driver ¶
type Driver = sqlite3.SQLiteDriver
Click to show internal directories.
Click to hide internal directories.