不要怂,就是干,撸起袖子干!

Commit 26b62c7c by Abdul Raheem Committed by GitHub

feat(test): add test for nested column in where query (#13478)

Closes #13288

Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
1 parent 95320e12
Showing with 2 additions and 0 deletions
...@@ -44,6 +44,8 @@ MyModel.findOne({ include: OtherModel }); ...@@ -44,6 +44,8 @@ MyModel.findOne({ include: OtherModel });
MyModel.count({ include: OtherModel }); MyModel.count({ include: OtherModel });
MyModel.count({ include: [MyModel], where: { '$num$': [10, 120] } });
MyModel.build({ int: 10 }, { include: OtherModel }); MyModel.build({ int: 10 }, { include: OtherModel });
MyModel.bulkCreate([{ int: 10 }], { include: OtherModel }); MyModel.bulkCreate([{ int: 10 }], { include: OtherModel });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!