MCPcopy Index your code
hub / github.com/riverqueue/river / QueueList

Method QueueList

riverdriver/riversqlite/river_sqlite_driver.go:1193–1199  ·  view source on GitHub ↗
(ctx context.Context, params *riverdriver.QueueListParams)

Source from the content-addressed store, hash-verified

1191}
1192
1193func (e *Executor) QueueList(ctx context.Context, params *riverdriver.QueueListParams) ([]*rivertype.Queue, error) {
1194 queues, err := dbsqlc.New().QueueList(schemaTemplateParam(ctx, params.Schema), e.dbtx, int64(params.Max))
1195 if err != nil {
1196 return nil, interpretError(err)
1197 }
1198 return sliceutil.Map(queues, queueFromInternal), nil
1199}
1200
1201func (e *Executor) QueueNameList(ctx context.Context, params *riverdriver.QueueNameListParams) ([]string, error) {
1202 exclude := params.Exclude

Callers

nothing calls this directly

Implementers 3

Executorriverdriver/riverpgxv5/river_pgx_v5_dr
Executorriverdriver/riverdatabasesql/river_dat
Executorriverdriver/riversqlite/river_sqlite_d

Calls 5

NewFunction · 0.92
MapFunction · 0.92
schemaTemplateParamFunction · 0.70
interpretErrorFunction · 0.70
QueueListMethod · 0.65

Tested by

no test coverage detected