序列化子句中的多列

Sou*_*mya 5 orm node.js sequelize.js

我有一个名为 attribute 的表,我需要在多个表中基于 SQL IN 子句进行选择,如何使用 Sequelize in Clause 来实现它。

我的查询是:

select * from attr where (tid, pid) in ((1, 3440), (344, 3441))
Run Code Online (Sandbox Code Playgroud)

但在 Sequelize 中,仅支持 1 列。