修改 whereLike 方法
This commit is contained in:
parent
5f9e90ec67
commit
bb372844dc
@ -132,7 +132,7 @@ class CatchQuery extends Query
|
|||||||
* @param string $logic
|
* @param string $logic
|
||||||
* @return Query
|
* @return Query
|
||||||
*/
|
*/
|
||||||
public function whereLike(string $field, $condition, $option = 'both', string $logic = 'AND'): Query
|
public function whereLike(string $field, $condition, string $logic = 'AND', $option = 'both'): Query
|
||||||
{
|
{
|
||||||
switch ($option) {
|
switch ($option) {
|
||||||
case 'both':
|
case 'both':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user