Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptyPayload occurs when there's no payload to insert. ErrEmptyPayload = errors.New("payload is empty") // ErrEmptyKey occurs when there is no value for key. ErrEmptyKey = errors.New("key value must be provided") // ErrCompositeKeysNotSupported occurs when there are more than one key in a Key map. ErrCompositeKeysNotSupported = errors.New("composite keys not yet supported") // ErrColumnsValuesLenMismatch occurs when trying to insert a row with a different column and value lengths. ErrColumnsValuesLenMismatch = errors.New("number of columns must be equal to number of values") )
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer implements a writer logic for db2 destination.
func (*Writer) Delete ¶
Delete deletes records by a key. First it looks in the sdk.Record.Key, if it doesn't find a key there it will use the default configured value for a key.
Click to show internal directories.
Click to hide internal directories.