Skip to content

Commit

Permalink
Related to balderdashy#292, it fixes broken select on find with popul…
Browse files Browse the repository at this point in the history
…ates
  • Loading branch information
luislobo committed Feb 21, 2023
1 parent eade151 commit c8e513b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,11 +482,6 @@ module.exports = (function() {
*/
join: function(connectionName, collectionName, criteria, cb) {

// Ignore `select` from waterline core
if (typeof criteria === 'object') {
delete criteria.select;
}

// Populate associated records for each parent result
// (or do them all at once as an optimization, if possible)
_runJoins({
Expand Down

0 comments on commit c8e513b

Please sign in to comment.