Suppose I have a PG ARRAY field:
id | array |
===|== ===========|
1|{“1″,”2″,”3”}| How to use sequelize to query to see if an array field is a value 1.
I tried:
array: {$contains
Suppose I have a PG ARRAY field:
id | array |
===|== ===========|
1|{“1″,”2″,”3”}| How to use sequelize to query to see if an array field is a value 1.
I tried:
array: {$contains