Skip to main content

job_queue_page

Function job_queue_page 

Source
pub fn job_queue_page(
    adapter: &dyn DatabaseOperations,
    config: &DbBackendConfig,
    schema: &AppSchema,
    status: &str,
    search: &str,
    requested_page: usize,
) -> Result<Value, DatabaseError>
Expand description

Reads one queue page and aggregate counts without exporting unrelated app state. The declared route policy authorizes queue access before this call.