Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JobMakeDriverParams ¶ added in v0.24.0
func JobMakeDriverParams(ctx context.Context, params *JobListParams, sqlFragmentBuilder sqlFragmentBuilder) (*riverdriver.JobListParams, error)
JobMakeDriverParams converts client-level parameters for job and delete to driver-level parameters for use with an executor, which generally goes by converting typed fields for IDs, kinds, queues, etc. to lower-level SQL.
This was originally implemented for listing jobs, but since the logic is so similar, it also performs the same function for JobDeleteMany. This works because `riverdriver.JobDeleteManyParams` has `JobListParams` as its underlying type and therefore pointer-level converts to it.
Types ¶
type JobListOrderBy ¶
type JobListParams ¶
type WherePredicate ¶ added in v0.23.0
Click to show internal directories.
Click to hide internal directories.