We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b374729 commit 4ff8b93Copy full SHA for 4ff8b93
README.md
@@ -19,20 +19,21 @@ composer require zyimm/laravelquery-builder
19
```
20
## Usage
21
```php
22
+/**
23
// 目前支持条件操作符
-'=',
24
-'<>',
25
-'>',
26
-'>=',
27
-'<',
28
-'<=',
29
-'like',
30
-'full_like',
31
-'in',
32
-'not_in',
33
-'between',
34
-'not_between'
35
-<?php
+ '=',
+ '<>',
+ '>',
+ '>=',
+ '<',
+ '<=',
+ 'like',
+ 'full_like',
+ 'in',
+ 'not_in',
+ 'between',
+ 'not_between'
36
+**/
37
use Illuminate\Support\Facades\DB;
38
use zyimm\query\build\QueryWhere;
39
/**
@@ -73,7 +74,6 @@ DB::enableQueryLog();
73
74
$build->buildQueryWhere($data ,$condition, $query);
75
})->get();
76
dd(DB::getQueryLog());
-?>
77
78
生成SQL查询记录如下截图:
79

0 commit comments