I want to make the condition
(A AND B) And (C Or D Or E Or F)
When I try to do
where: {
[Op.and]: [{
A,
B,
[Op.or]: [{
C,
D,
E,
F
}]
}]
}
This operation will just return A And B AND C AND D AND E AND F, for some reason Op.or just fails within Op.and. Maybe there is a better way to do the logical operation, would anyone know what do?