eva.interfaces.relational.relation.EVARelation.limit#

EVARelation.limit(num: int) EVARelation[source]#

Limits the result count to the number specified.

Parameters:

num (int) – Number of records to return. Will return num records or all records if the Relation contains fewer records.

Returns:

Relation with subset of records

Return type:

EVARelation

Examples

>>> relation = conn.table("sample_table")
>>> relation.limit(10)