Documentation
¶
Overview ¶
Package sqlstats wraps database/sql drivers with a measuring proxy and aggregates every query into an in-memory table. Works with any driver (MySQL/MariaDB via go-sql-driver, PostgreSQL via pgx stdlib or lib/pq).
Index ¶
Constants ¶
View Source
const DriverSuffix = ":isutools"
DriverSuffix is appended to the original driver name on registration: Register("mysql") makes "mysql:isutools" available.
Variables ¶
View Source
var Default = agg.NewTable(agg.DefaultMaxKeys)
Default is the table all proxied drivers report into.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.