Help us shape the future of Go! Take the 2026 Go Developer Survey

sqlutil

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildBoolMap

func BuildBoolMap(strList []string) map[string]bool

buildExcludedDBs builds the list of excluded databases

func FetchDBs

func FetchDBs(ctx context.Context, db *sql.DB, logger log.Logger, query string) ([]string, error)

func FetchTablesInDB

func FetchTablesInDB(ctx context.Context, db *sql.DB, dbName, query string) ([]string, error)

func OpenWithOtel added in v0.8.9

func OpenWithOtel(driverName, connectionURL string, otelSemConv attribute.KeyValue) (db *sql.DB, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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