Documentation
¶
Index ¶
- Constants
- func Backup(db *sql.DB, dest string) error
- func Close(db *sql.DB)
- func Commands(db *sql.DB, buffer string, echo bool, w io.Writer) error
- func DataVersion(db *sql.DB) (int64, error)
- func File(db *sql.DB, file string, echo bool, w io.Writer) error
- func Filename(db *sql.DB) string
- func Open(file string) (*sql.DB, error)
- func Pragmas(db *sql.DB, w io.Writer)
- func Version() (string, int, string)
- type FuncReg
- type Options
- type Server
Constants ¶
View Source
const (
// DefaultDriver is the default driver name to be registered
DefaultDriver = "sqlite"
)
Variables ¶
This section is empty.
Functions ¶
func DataVersion ¶
DataVersion returns the version number of the schema
Types ¶
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
Options consolidate all sqlite options
func (*Options) FailIfMissing ¶
FailIfMissing will cause open to fail if file does not already exist
Click to show internal directories.
Click to hide internal directories.