Add PagingQueryableExtensions for Marten
I have ported the ToPageAsync extension method from GreenDonut.Data.EntityFramework with some marten specific changes.
Currently it supports all the types as the ef core version except:
- datetime
- ulong
- ushort
Closes #8251
How did you handle ToBatchPageAsync? we have already a port for ToPageAsync but ToBatchPageAsync does not work with marten as of now. Marten will need to implement GroupBy support for this.
How did you handle
ToBatchPageAsync? we have already a port forToPageAsyncbutToBatchPageAsyncdoes not work with marten as of now. Marten will need to implement GroupBy support for this.
I did not try to implement the ToBatchPageAsync since the GroupBy is not supported.
We are talking at the moment with Jeremy to get some changes into the queryable provider thats why we do not have a provider as of now ... I will leave this as a draft open. But I do not want to have it in this state. Especially as I want to share more between drivers and allow for easier maintainability.
@s3w3nofficial we will soon pick this back up ... sorry for the wait. I will include you in the work as soon as we have the main bulk for the new type system abstractions merged.