Table of Contents

TCriteria.Take Method

Limits the maximum number of rows returned by the query.

Remarks

Use together with Skip to implement pagination.

Syntax

Unit: Aurelius.Criteria.Base

function TCriteria.Take(AMaxRows: Integer): TCriteria;

Parameters

<-> Parameter Type Description
AMaxRows Integer The maximum number of rows to return.

Returns

The current criteria instance to allow method chaining.

See also