Assembly: OptimaJet.Workflow.Api

Class Query<TField>

OptimaJet.Workflow.Api.Models.Query<TField>

Search, filtering, sorting and pagination for a collection operation.

public class Query<TField> where TField : Enum

Constructors

public Query(string? search = null, Filter<TField>[]? filters = null, Sort<TField>[]? sorts = null, long skip = 0, long take = 0) #

Parameters

Name
Type
Description
search
String
filters
Filter<TField>[]
sorts
Sort<TField>[]
skip
Int64
take
Int64

Properties

public Filter<TField>[] Filters { get; } #
Gets the filters applied before pagination.
public Sort<TField>[] Sorts { get; } #
Gets the sorting rules in priority order.
public long Skip { get; } #
Gets the number of entries to skip.
public long Take { get; } #
Gets the requested page size.