Versions in this module Expand all Collapse all v0 v0.4.0 Oct 26, 2026 Changes in this version + type Client struct + func NewClient(db *sql.DB, driver Driver) *Client + func (c *Client) Close() error + func (c *Client) Run(ctx context.Context, mode Mode, query string, args []string) (*Result, error) + type Driver int + const MySQL + const Postgres + const TiDB + type Mode int + const Analyze + const Explain + func (m Mode) String() string + type Result struct + Duration time.Duration + Plan string