Skip to content

Conversation

@slayer1551
Copy link

Since AWS Document DB does not support $facet and throws an error, I created a workaround for generating the pagination and results.

If the original call throws an error it tries the AWS workaround. Tested and it returns back filtered results with correct pagination

$facet is not available in AWS Document DB and throws an error.
Created an error check that if it fails with the standard query to try the AWS query to create the pages and filters.
Fixed the total page count
removed line uses for testing
@slayer1551 slayer1551 changed the title Added support for AWD Document DB Added support for AWS Document DB Jun 1, 2022
@devclickuk
Copy link

This will be amazing if this can get pushed, been wanting use documentDB with agendash for a while now

@DAmisonSSG
Copy link

Any update on this getting pushed?

@koresar
Copy link
Contributor

koresar commented Apr 11, 2023

Loving your workaround!
But could we please rewrite it to avoid double querying?
(Also, there is a merge conflict now. sorry!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants