Skip to content

Support for ordering with nested objects in SQL#154

Open
kodla wants to merge 1 commit intocoresmart:masterfrom
kodla:master
Open

Support for ordering with nested objects in SQL#154
kodla wants to merge 1 commit intocoresmart:masterfrom
kodla:master

Conversation

@kodla
Copy link
Copy Markdown

@kodla kodla commented Jul 9, 2014

Allows to use .order('parent.field') after .prefetch('parent'). Example from my project code:
ZCard.all().prefetch('brand').order('brand.name').forEach(function (card) {});

…('parent.field') after .prefetch('parent')
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