Thursday 21 November 2019

sequelize include with where issues

Hello, I'm searching the 1:N table for the condition of the N table.I want to get all the value for that 1-table (if i have information on the n-table)But I don't know how to do that.... (help!)​Below is the way I tried.​https://preview.redd.it/yjrevvmpi0041.png?width=874&format=png&auto=webp&s=96a770fba8c82d54b3300d9baaa8182bead24bf8Result:​https://preview.redd.it/cdvvwburi0041.png?width=838&format=png&auto=webp&s=eca0e678d58523376b840100b664041e139b1ffb​But I want to get the following results, not the above ones.What i want it:​https://preview.redd.it/q6wtal2ui0041.png?width=774&format=png&auto=webp&s=e8a4701de29e129f8a53afdb31f15771fba42eb1​Is there anyone who can advise me?Thank you for reading.

Submitted November 21, 2019 at 09:55AM by alphaca1

No comments:

Post a Comment