db

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dsn added in v1.12.0

func Dsn(config database.FullConfig) string

func Raw

func Raw(expr string, args ...any) any

Types

type ConfigBuilder added in v1.15.0

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

func NewConfigBuilder added in v1.15.0

func NewConfigBuilder(config contractsconfig.Config, connection string) *ConfigBuilder

func (*ConfigBuilder) Reads added in v1.15.0

func (c *ConfigBuilder) Reads() []database.FullConfig

func (*ConfigBuilder) Writes added in v1.15.0

func (c *ConfigBuilder) Writes() []database.FullConfig

Jump to

Keyboard shortcuts

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