InsertMany is invoked around a batch insert operation. Implementations must always include a call to doInner to call down the middleware stack and perform the batch insertion, and may run custom code before and after. Returning an error from this function will fail the overarching insert operation,
(ctx context.Context, manyParams []*JobInsertParams, doInner func(context.Context) ([]*JobInsertResult, error))
| 463 | // Returning an error from this function will fail the overarching insert |
| 464 | // operation, even if the inner insertion originally succeeded. |
| 465 | InsertMany(ctx context.Context, manyParams []*JobInsertParams, doInner func(context.Context) ([]*JobInsertResult, error)) ([]*JobInsertResult, error) |
| 466 | } |
| 467 | |
| 468 | // WorkerMiddleware provides an interface for middleware that integrations can |
no outgoing calls