mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2024-11-26 02:33:45 +03:00
TRIVIAL
This commit is contained in:
parent
ce8c77684e
commit
01cd88a938
|
@ -152,7 +152,7 @@ Pagination
|
||||||
It is possible to paginate through model instances::
|
It is possible to paginate through model instances::
|
||||||
|
|
||||||
>>> order_by = 'first_name, last_name'
|
>>> order_by = 'first_name, last_name'
|
||||||
>>> page = db.paginate(Person, order_by, page_num=1, page_size=100)
|
>>> page = db.paginate(Person, order_by, page_num=1, page_size=10)
|
||||||
>>> print page.number_of_objects
|
>>> print page.number_of_objects
|
||||||
2507
|
2507
|
||||||
>>> print page.pages_total
|
>>> print page.pages_total
|
||||||
|
|
Loading…
Reference in New Issue
Block a user