- How to sort fields of a related (joined) table in query results?
- Project:
- columns:
- name: { type: string(255), notnull: true }
- relations:
- Task:
- local: id
- foreign: project_id
- orderBy: name
- Task:
- columns:
- project_id: { type: integer, notnull: true }
- name: { type: string(255), notnull: true }