Sequelize - Get all data with custom where
问题 How can I get data with custom where conditions? In this question Sequelize - function on column in a where clause, I have a similar problem, but this one I believe uses MySQL built-in functions and it fetches data within a radius. I have several models. House Address Task Each house HAS MANY tasks . and each house HAS ONE address . When calling /getTasks , I need to get all the mission BUT with a constraint of: house address straight distance must be N-Kilometers away from request's lat-long