Skip to content

Conversation

cj848
Copy link
Collaborator

@cj848 cj848 commented Aug 29, 2025

Motivation

The documentation did not explicitly cover how to sort query results by a computed or aggregated field in a DTO projection. This PR adds a new FAQ page to demonstrate how to use aliases in the select clause and refer to them in the orderBy clause.

Modifications

  • Added docs/en/faq/how-to-sort-by-dto-fields-or-aliases.md
  • Added docs/ko/faq/how-to-sort-by-dto-fields-or-aliases.md
  • Updated docs/en/SUMMARY.md and docs/ko/SUMMARY.md to include the new FAQ.

Result

After this PR is merged, users will have a clear example of how to sort by aliased fields, making it easier to handle complex ordering requirements in their queries.

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.

1 participant