Class Query<TField>
OptimaJet.Workflow.Api.Models.Query<TField>
Search, filtering, sorting and pagination for a collection operation.
Namespace: OptimaJet.Workflow.Api.Models
public class Query<TField> where TField : EnumConstructors
public Query(string? search = null, Filter<TField>[]? filters = null, Sort<TField>[]? sorts = null, long skip = 0, long take = 0) #Parameters
Name
Type
Description
searchStringfiltersFilter<TField>[]sortsSort<TField>[]skipInt64takeInt64Properties
public string? Search { get; } #Gets the optional search text.
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.