MCPcopy Create free account
hub / github.com/corestoreio/pkg / wrapDriver

Function wrapDriver

sql/dml/connection_callback.go:28–30  ·  view source on GitHub ↗

wrapDriver is used to create a new instrumented driver, it takes a vendor specific driver, and a call back instance to produce a new driver instance. It's usually used inside a sql.Register() statement

(drv driver.Driver, cb DriverCallBack, hasUniqueIDFn bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

WithCreateDatabaseFunction · 0.85
WithDBFunction · 0.85

Calls

no outgoing calls

Tested by 2