Skip to content

Commit

Permalink
fix(SchemaBuilder): Add in shortcut methods for enabling/disabling va…
Browse files Browse the repository at this point in the history
…lue wrapping
  • Loading branch information
elpete committed Jan 15, 2025
1 parent d939066 commit a3db3c6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions models/Schema/SchemaBuilder.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -569,4 +569,14 @@ component accessors="true" {
return statement;
}

public SchemaBuilder function withoutWrappingValues() {
variables.shouldWrapValues = false;
return this;
}

public SchemaBuilder function withWrappingValues() {
variables.shouldWrapValues = true;
return this;
}

}

0 comments on commit a3db3c6

Please sign in to comment.