Documentation ¶
Overview ¶
Package sqlite3 wraps go-sqlite3 driver as an adapter for rel.
Usage:
// open sqlite3 connection. adapter, err := sqlite3.Open("dev.db") if err != nil { panic(err) } defer adapter.Close() // initialize rel's repo. repo := rel.New(adapter)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Config for mysql adapter. Config = sql.Config{ Placeholder: "?", EscapeChar: "`", InsertDefaultValues: true, IncrementFunc: incrementFunc, ErrorFunc: errorFunc, MapColumnFunc: mapColumnFunc, } )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.