pggo

package
v1.25.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wrap

func Wrap(db *pg.DB) *pg.DB

Types

type Hook

type Hook struct{}

func (*Hook) AfterQuery

func (h *Hook) AfterQuery(ctx context.Context, qe *pg.QueryEvent) error

func (*Hook) BeforeQuery

func (h *Hook) BeforeQuery(ctx context.Context, qe *pg.QueryEvent) (context.Context, error)

Jump to

Keyboard shortcuts

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