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

[order] implement merging for Nested Association Object syntax #12

Open
chrdevmar opened this issue Oct 22, 2018 · 0 comments
Open

[order] implement merging for Nested Association Object syntax #12

chrdevmar opened this issue Oct 22, 2018 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@chrdevmar
Copy link
Owner

implement merging of order options declared with the following syntax:

Subtask.findAll({
  order: [
    // Will order by a nested associated model's created_at simple association objects.
    [{model: Task, as: 'Task'}, {model: Project, as: 'Project'}, 'createdAt', 'DESC']
  ]
})
@chrdevmar chrdevmar added enhancement New feature or request help wanted Extra attention is needed labels Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant