limit_query
LimitQuery
Modifies the select query with limit clause.
Source code in ormar\queryset\queries\limit_query.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
apply(expr)
Applies the limit clause.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
expr |
select
|
query to modify |
required |
Returns:
Type | Description |
---|---|
sqlalchemy.sql.selectable.Select
|
modified query |
Source code in ormar\queryset\queries\limit_query.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|