Srylax / mongodb-cursor-pagination

Provides cursor based pagination for the native MongoDB driver in Rust.
https://docs.rs/mongodb-cursor-pagination/
MIT License
2 stars 4 forks source link

Opt-in meta-information #16

Open Srylax opened 1 month ago

Srylax commented 1 month ago

Currently, the PageInfo contains Information that is potentially expensive to get (total_count,has_next_page, ...). This information should be extracted into a new API that allows this information to get fetched separately. For ease of use, there should be a Feature Switch that includes these values in the PageInfo.