Yurii Karabas

Results 236 comments of Yurii Karabas

I am closing this issue, please reopen it in case if the issue is still present.

Hi @ikkysleepy, New version `0.10.0` has been released. Could you please check if this issue is still present?

@ikkysleepy I have created minimal pagination with sorting app: ```py from contextlib import contextmanager from typing import Any, Iterator import uvicorn from faker import Faker from fastapi import Depends, FastAPI...

@ikkysleepy Maybe issue when rows have same `votes` column value. In such case you can add secondary order by clause. Could you please check if code above still have your...

@TamiasSibiricus Because of `gino` package there were dependency conflicts between other packages. After removing it from the dependencies list seems like this issue is no longer needed.

Hi @CHuKeR, @cmflynn This issue should be fixed in version `1.20`. Please, reopen this issue in the case when issue is still present.

Hi @Akkarine, As @aledt said, you can specify `order_by` when a passing query to paginate function: ```py @app.get("/users", response_model=Page[UserOut]) def get_users(db: Session = Depends(get_db)) -> Any: return paginate(db.query(User).order_by(User.name.desc())) ``` New...

@Akkarine I am closing this issue. Please, take a look at https://github.com/uriyyo/fastapi-pagination/issues/219#issuecomment-1250150968 to see the root cause of performance issues.