Registry / database / gocraft-dbr

gocraft-dbr

JSON →
librarygogounverified

Package dbr provides additions to Go's database/sql for super fast performance and convenience.

go get github.com/gocraft/dbr
INSTALL
IMPORT
SIG · GOCRAFT-DBR
G
gocraft-dbr
databasego
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dbr
github.com/gocraft/dbr

Minimal example showing how to create a session and execute a query.

package main import ( "database/sql" "fmt" "log" "github.com/gocraft/dbr" _ "github.com/mattn/go-sqlite3" ) func main() { conn, _ := sql.Open("sqlite3", ":memory:") sess := dbr.NewConnection(conn, nil).NewSession(nil) var count int sess.SelectBySql("SELECT 1").Load(&count) fmt.Println(count) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources