evadb.EVADBQuery.limit#
- EVADBQuery.limit(num: int) EVADBQuery [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:
EVADBQuery
Examples
>>> relation = conn.table("sample_table") >>> relation.limit(10)