//
pkg.gl
Category
github.com/rotationalio/ensign
pkg
utils
sqlite
package
0.12.8
Repository:
https://github.com/rotationalio/ensign.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
2
Files
70 SLOC
#
Functions
GetLastConn
GetLastConn returns the last connection created by the driver.
NumConns
For testing purposes, returns the number of active connections.
#
Constants
DriverName
In order to use this driver, specify the DriverName to sql.Open.
#
Structs
Conn
Wraps a sqlite3.SQLiteConn and maintains an ID so that the connection can be closed.
Driver
Driver embeds a sqlite3 driver but overrides the Open function to ensure the connection created is a local connection with a sequence ID.