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

postgres

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConn

func NewConn(cfg config.PostgreSQL) (*sql.DB, error)

func NewQuerier

func NewQuerier(db *sql.DB) *sqlc.Queries

NewQuerier creates a new sqlc.Queries instance for PostgreSQL

func SelectCount

func SelectCount(ctx context.Context, db *sql.DB, b *goqu.SelectDataset) (int64, error)

Types

type DialectWrapper

type DialectWrapper = goqu.DialectWrapper

func NewDialect

func NewDialect() DialectWrapper

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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