Skip to content

Commit

Permalink
fix(Subselect): Return the entity after executing a subselect
Browse files Browse the repository at this point in the history
  • Loading branch information
elpete committed May 3, 2019
1 parent 524244b commit 87e5a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/BaseEntity.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ component accessors="true" {
}

retrieveQuery().subselect( name, subselectQuery.retrieveQuery().limit( 1 ) );
return retrieveQuery();
return this;
}

/*=====================================
Expand Down

0 comments on commit 87e5a7a

Please sign in to comment.