Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Strategy uint8 MatchKeyFn func(entity interface{}) (interface{}, interface{}, error) NewRowFn func() interface{} FetchSQL string Update *Update Insert *Insert Delete *Delete OperationOrder []uint8 HighwayHash bool FetchConcurrency int CompareConcurrency int }
Config represents merger config
func (*Config) DummyMergerConfigFn ¶
func (c *Config) DummyMergerConfigFn()
DummyMergerConfigFn dummy func for
type Delete ¶
type Delete struct { Transient *Transient DeleteStrategy uint8 DeleteSQL string Options []option.Option }
Delete represents config for update used by merge
type Insert ¶
type Insert struct { Transient *Transient InsertSQL string InsertStrategy uint8 LoadOptions []loption.Option Options []option.Option }
Insert represents config for insert/upsert used by merge
Click to show internal directories.
Click to hide internal directories.