How would you execute this query with typeorm?
SELECT * from t_integration_app WHERE settings = JSON_OBJECT("modelType", JSON_ARRAY("ACTION"));
I tried something like:
repository.find({
where: {
settings: { modelType: "ACTION" }
},
})
but it fails with this error message
"errorMessage": "Unknown column 'modelType' in 'where clause'"