Open cybermerlin opened 6 years ago
await db.raw("select * from pupi where pop = $1::BIGINT AND stones && $2", [ userId, [['2','3', '11111']] ]).run()
need in $2 as ARRAY[ '2', '3', '11111']::text[]
ARRAY[ '2', '3', '11111']::text[]
need in $2 as
ARRAY[ '2', '3', '11111']::text[]