appdb

package
v0.0.0-...-122f59b Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Handle

type Handle struct {
	*db.HookHandle
}

func NewHandle

func NewHandle(
	ctx context.Context,
	pool *db.Pool,
	cfg *config.DatabaseEnvironmentConfig,
	credentials *config.DatabaseCredentials,
	lf *log.Factory,
) *Handle

type SQLBuilder

type SQLBuilder struct {
	// contains filtered or unexported fields
}

func NewSQLBuilder

func NewSQLBuilder(c *config.DatabaseCredentials) *SQLBuilder

func (SQLBuilder) TableName

func (b SQLBuilder) TableName(table string) string

func (SQLBuilder) WithAppID

func (b SQLBuilder) WithAppID(appID string) *SQLBuilderApp

func (SQLBuilder) WithoutAppID

func (b SQLBuilder) WithoutAppID() *db.SQLBuilder

type SQLBuilderApp

type SQLBuilderApp struct {
	db.SQLBuilderApp
}

type SQLExecutor

type SQLExecutor struct {
	db.SQLExecutor
}

func NewSQLExecutor

func NewSQLExecutor(c context.Context, handle *Handle) *SQLExecutor

Jump to

Keyboard shortcuts

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