Documentation ¶
Index ¶
- Variables
- func NewBatchUpsert[T any](configurations ...runtime.Configuration[*BatchUpsert[T]]) stateless.BatchFunction
- func WithBatchUpsertMapFunction[T any](mapper MapFunction[structure.Bytes, structure.Bytes, T]) runtime.Configuration[*BatchUpsert[T]]
- func WithBatchUpsertRepository[T any](repository UpsertRepository[T]) runtime.Configuration[*BatchUpsert[T]]
- type BatchUpsert
- type MapFunction
- type UpsertRepository
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorUpsertMapper = errors.New("upsert mapper")
View Source
var ErrorUpsertRepository = errors.New("upsert repository")
Functions ¶
func NewBatchUpsert ¶ added in v0.1.1
func NewBatchUpsert[T any](configurations ...runtime.Configuration[*BatchUpsert[T]]) stateless.BatchFunction
constructor
func WithBatchUpsertMapFunction ¶ added in v0.1.1
func WithBatchUpsertMapFunction[T any](mapper MapFunction[structure.Bytes, structure.Bytes, T]) runtime.Configuration[*BatchUpsert[T]]
func WithBatchUpsertRepository ¶ added in v0.1.1
func WithBatchUpsertRepository[T any](repository UpsertRepository[T]) runtime.Configuration[*BatchUpsert[T]]
configuration
Types ¶
type BatchUpsert ¶
type BatchUpsert[T any] struct { // contains filtered or unexported fields }
type MapFunction ¶
func ConvertOneToOne ¶ added in v0.0.7
Click to show internal directories.
Click to hide internal directories.