fastapi-pagination icon indicating copy to clipboard operation
fastapi-pagination copied to clipboard

async pymongo support

Open janas-adam opened this issue 7 months ago • 1 comments

hi, motor ll be deprecated on May 14th 26' and migration to pymongo async driver is recommended, but i noticed there is no async pagination and paginate aggregate methods provided in fastapi-pagination pymongo ext

right now users still need to use motor ext to handle pagination despite migration to async pymongo

migration-guide

janas-adam avatar May 29 '25 12:05 janas-adam

Hi @janas-adam,

Thanks, will try to add async pymongo support ASAP 🙏

uriyyo avatar May 29 '25 14:05 uriyyo

Hi @janas-adam,

New version 0.13.2 has been released and contains support for async pymongo

uriyyo avatar Jun 07 '25 09:06 uriyyo

great, thanks @uriyyo also i was thinking about apaginate_aggregate, cause now pymongo has only apaginate

it ll help migrating to pymongo in the future

janas-adam avatar Jun 07 '25 20:06 janas-adam

Hi @janas-adam ,

Sorry for big delay, added both apaginate_aggregate/paginate_aggregate functions in new 0.13.3 release.

uriyyo avatar Jun 25 '25 21:06 uriyyo

hi @uriyyo great, added #1555 - marking motor as deprecated can be also useful for developers

thanks

janas-adam avatar Jun 30 '25 21:06 janas-adam