db

package
v0.0.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package db provides a wrapper for database/sql to record SQL queries and results. This package is too old. Need to update it to support the latest version of database/sql

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapConnectorWithRecorder

func WrapConnectorWithRecorder(connector driver.Connector, sourceName string, recorder *spectest.Recorder) driver.Connector

WrapConnectorWithRecorder wraps an existing connector with a Recorder

func WrapWithRecorder

func WrapWithRecorder(driverName string, recorder *spectest.Recorder) driver.Driver

WrapWithRecorder wraps an existing driver with a Recorder

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL