Skip to content

Commit

Permalink
fix(QueryBuilder): Preserve returnFormat when creating a new builder
Browse files Browse the repository at this point in the history
  • Loading branch information
elpete committed Mar 14, 2018
1 parent f3884ee commit 4538947
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models/Query/QueryBuilder.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,8 @@ component displayname="QueryBuilder" accessors="true" {
public QueryBuilder function newQuery() {
return new qb.models.Query.QueryBuilder(
grammar = getGrammar(),
utils = getUtils()
utils = getUtils(),
returnFormat = getReturnFormat()
);
}

Expand Down

0 comments on commit 4538947

Please sign in to comment.