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

Removes forcing sort on createdAt #796

Merged
merged 1 commit into from
Oct 28, 2017
Merged

Conversation

flovilmart
Copy link
Contributor

When sorting columns, an additional ordering was always added on createdAt which cause issues on large collection.

This PR removes this additional descending, therefore, index management should be easier.

@davimacedo
Copy link
Member

What do you think about automatically creating index for createdAt in Parse Server instead of removing the default order by?

@flovilmart
Copy link
Contributor Author

It’s not the default orderBy, but a secondary order on every single quet

@davimacedo
Copy link
Member

Got it. I haven't noticed that. It seems a good idea to remove it.

@natanrolnik natanrolnik merged commit 49bf7e3 into master Oct 28, 2017
@natanrolnik natanrolnik deleted the remove-created-at-forced branch October 28, 2017 18:06
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.

3 participants