Skip to main content

IQuery

Assembly: ServiceStack.Interfaces.dll​
View Source​
Declaration
public interface IQuery : IMeta

Properties​

Skip​

How many results to skip

View Source​
Declaration
int? Skip { get; set; }

Take​

How many results to return

View Source​
Declaration
int? Take { get; set; }

OrderBy​

List of fields to sort by, can order by multiple fields and inverse order, e.g: Id,-Amount

View Source​
Declaration
string OrderBy { get; set; }

OrderByDesc​

List of fields to sort by descending, can order by multiple fields and inverse order, e.g: -Id,Amount

View Source​
Declaration
string OrderByDesc { get; set; }

Include​

Include aggregate data like Total, COUNT(*), COUNT(DISTINCT Field), Sum(Amount), etc

View Source​
Declaration
string Include { get; set; }

Fields​

The fields to return

View Source​
Declaration
string Fields { get; set; }