-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.3] add $default parameter to query builder when() method (#15428)
* add a $default parameter to the QB when() clause allows you to specify a default in the case that the when() $value is false * add new test for when() method to test $default * remove extra spaces to make StyleCI happy * use the correct index for the bindings in the test * use the full bindings array
- Loading branch information
1 parent
b43cb92
commit 6cf003a
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters