News for hackers. Stuff that matters.
Re:How not to structure database-backed web apps: performanc... by spraak on Thursday June 28, 2018 @02:34PM (#17419344)
Waterline (for Sails.js) is horrible. Last I looked there's no way to do a kind of `deepPopulate` (requiring an inner join)
Re:How not to structure database-backed web apps: performanc... by mikermcneil on Friday June 29, 2018 @02:43PM (#17426636)
Sorry you feel that way! The rest of the team and I work hard on it as often as we can. But deep populate is not a feature we’ll be adding— Sails and Waterline are opinionated, and I don’t feel that the performance penalty and potential issues are worth it— instead, we recommend using a native SQL query when you need to do a custom join.

Built in support for WHERE subqueries, on the other hand, is on our roadmap. Currently working to finish core MSSQL support first though. Hope that helps!