These are chat archives for quorrajs/quorrajs

4th
Dec 2016
n3wcr4zy
@n3wcr4zy
Dec 04 2016 03:14

I'm trying to query in a many-to-many associantion, i want all movies that has a 'horror' genre and filter some movies attr, something like that:

Movie.find({ where: { year: 2016, genres: { genre: 'Horror' } } }).exec(cb);

how i can do that?

n3wcr4zy
@n3wcr4zy
Dec 04 2016 13:18
solution: raw query