Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default ordering on XForm, Attachment model #2645

Merged
merged 7 commits into from
Jul 16, 2024

Conversation

kelvin-muchiri
Copy link
Contributor

@kelvin-muchiri kelvin-muchiri commented Jul 16, 2024

Changes / Features implemented

Remove default ordering on models XForm and Attachment. Ordering creates a performance bottleneck and should only be applied when necessary e.g during pagination

Side effects of implementing this change

Faster queries when fetching records

ordering creates a performance bottleneck and should be avoided if unnecessary
@kelvin-muchiri kelvin-muchiri marked this pull request as ready for review July 16, 2024 08:37
@kelvin-muchiri kelvin-muchiri changed the title Remove default ordering on XForm model Remove default ordering on XForm, Attachment model Jul 16, 2024
@kelvin-muchiri kelvin-muchiri merged commit b130a3d into main Jul 16, 2024
10 checks passed
@kelvin-muchiri kelvin-muchiri deleted the remove-xform-ordering branch July 16, 2024 11:14
@FrankApiyo FrankApiyo mentioned this pull request Jul 29, 2024
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