Skip to content

Conversation

@bitbeckers
Copy link
Collaborator

When querying using filters, or when using pagination, count should not return the amount or returned rows, but the amount of rows matching the filter params.

This PR:

  • Defines dataQuery and countQuery builder
  • Implements data fetching buy calling both the data and count query in a single transaction
  • Cleans up some business logic

@bitbeckers bitbeckers merged commit eb21dfa into develop Aug 31, 2024
@bitbeckers bitbeckers deleted the fix/count_relevant_fields branch September 2, 2024 22:29
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.

2 participants