(ctx context.Context, params *riverdriver.JobGetByIDManyParams)
| 500 | } |
| 501 | |
| 502 | func (e *Executor) JobGetByIDMany(ctx context.Context, params *riverdriver.JobGetByIDManyParams) ([]*rivertype.JobRow, error) { |
| 503 | jobs, err := dbsqlc.New().JobGetByIDMany(schemaTemplateParam(ctx, params.Schema), e.dbtx, params.ID) |
| 504 | if err != nil { |
| 505 | return nil, interpretError(err) |
| 506 | } |
| 507 | return sliceutil.MapError(jobs, jobRowFromInternal) |
| 508 | } |
| 509 | |
| 510 | func (e *Executor) JobGetByKindMany(ctx context.Context, params *riverdriver.JobGetByKindManyParams) ([]*rivertype.JobRow, error) { |
| 511 | jobs, err := dbsqlc.New().JobGetByKindMany(schemaTemplateParam(ctx, params.Schema), e.dbtx, params.Kind) |
nothing calls this directly
no test coverage detected