What subQuery field is ? #17100
-
subQuery: false || true What is that?, When I check in the library it looks like default is false, but if I do not include subQuery: false I got an error like this "Unknown column 'user_exam.startedAt' in 'order clause'" Payload: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It's not documented because it was not designed to be used outside of our internals. We'll fix the code that makes using it a necessity but in the meantime we documented it in v7: https://sequelize.org/docs/v7/querying/select-in-depth/#referencing-associated-models-in-a-parent-where-clause |
Beta Was this translation helpful? Give feedback.
It's not documented because it was not designed to be used outside of our internals. We'll fix the code that makes using it a necessity but in the meantime we documented it in v7: https://sequelize.org/docs/v7/querying/select-in-depth/#referencing-associated-models-in-a-parent-where-clause