Documentation ¶
Index ¶
- Variables
- func Columns(val interface{}) ([]string, []string)
- func ColumnsGeneric[T any](val T) ([]string, []string)
- func ConflictSet(cols []string) string
- func WithBunUpsertRepositoryConnection[T any](connection runtime_bun.BunConnection) runtime.Configuration[*BunUpsertRepository[T]]
- type BunUpsertRepository
- type Tag
Constants ¶
This section is empty.
Variables ¶
View Source
var IgnoreColumns = map[string]bool{ "base_model": true, }
Functions ¶
func ColumnsGeneric ¶
func ConflictSet ¶
func WithBunUpsertRepositoryConnection ¶
func WithBunUpsertRepositoryConnection[T any](connection runtime_bun.BunConnection) runtime.Configuration[*BunUpsertRepository[T]]
configuration
Types ¶
type BunUpsertRepository ¶
type BunUpsertRepository[T any] struct { // contains filtered or unexported fields }
implementation
func NewBunUpsertRepository ¶
func NewBunUpsertRepository[T any](configurations ...runtime.Configuration[*BunUpsertRepository[T]]) *BunUpsertRepository[T]
constructor
Click to show internal directories.
Click to hide internal directories.