How to write the sequelize where query on medium and subject over the PostgreSQL table in NodeJs?
E.g. select * from tablename where params.medium IN("Hindi", "English") AND params.subject IN("Hindi","Science");
here table column name is params
Data in params column:
{
"board":"CBSE",
"medium":[
"Hindi",
"English",
"Urdu"
],
"subject":[
"Hindi",
"Mathematics",
"Science"
]
}