cas::graphql::types::position::query

Function get_positions

Source
pub async fn get_positions<'ctx>(
    ctx: &Context<'ctx>,
    moving_activity: Option<Vec<MovingActivity>>,
    limit: Option<i64>,
    offset: Option<i64>,
) -> Result<Option<Vec<Position>>, AppError>
Expand description

Get positions from the database for each user. It is restricted to only admin users.