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

Delayed Request Ordering #365

Merged
merged 4 commits into from
Jun 6, 2018
Merged

Delayed Request Ordering #365

merged 4 commits into from
Jun 6, 2018

Conversation

groue
Copy link
Owner

@groue groue commented Jun 5, 2018

This PR introduces the orderByPrimaryKey() method which sorts by primary key:

// SELECT * FROM player ORDER BY id
Player.orderByPrimaryKey()

// SELECT * FROM country ORDER BY code
Country.orderByPrimaryKey()

// SELECT * FROM citizenship ORDER BY citizenId, countryCode
Citizenship.orderByPrimaryKey()

@groue groue added this to the GRDB 3.0 milestone Jun 5, 2018
@groue groue mentioned this pull request Jun 5, 2018
29 tasks
@groue groue merged commit ff69d3f into GRDB3 Jun 6, 2018
@groue groue deleted the GRDB3-DelayedOrdering branch June 6, 2018 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant