sql

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyValueStore

type KeyValueStore[T any] interface {
	BaseKeyValueStore[T]
	Lister[T]
	ErrorMapSetter
	Resetter
}

func NewKeyValue

func NewKeyValue[T any](db *bun.DB) KeyValueStore[T]

func NewKeyValueWithProxy

func NewKeyValueWithProxy[T, P any](
	db *bun.DB,
	toProxy func(*T) *P,
	fromProxy func(*P) *T,
) KeyValueStore[T]

Jump to

Keyboard shortcuts

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