LPGameDevs / EditarrrPublic

Public repo for level editor tools in Unity
MIT License
11 stars 2 forks source link

Backend: [Bug Fix] Artificial Pagination when DDB FilterExpression is used (instead of 'limit') #233

Open HaywardMorihara opened 10 months ago

HaywardMorihara commented 10 months ago

Fixes this bug with filtering & pagination

We have to do this because, if we have a FilterExpression, it first fetches unfiltered items up to the limit, and then filters that first page, but doesn't fetch anymore once it's filtered out that page.

From the AWS Docs:

'A Query operation can retrieve a maximum of 1 MB of data. This limit applies before the filter expression is evaluated.'

This completes https://github.com/LPGameDevs/EditarrrPublic/issues/224