Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Committer ¶
type Committer interface { Start() Queue(Value) Stop() }
Committer commits items in a background thread
type ErrorCallback ¶
ErrorCallback lets callers get a callback when a value fails to be committed
type Value ¶
type Value interface {
RowID() string
}
Value represents the interface values must satisfy. The RowID() method should return the unique row ID (if any) for the item. This will be used to make sure that no update is made on the same value in the same statement. (which would fail for bulk updates) Items which are being inserted may return an empty string for RowID()
Click to show internal directories.
Click to hide internal directories.