Skip to content

Commit 4ff8b93

Browse files
author
zhouyangyang
committed
更新readme
1 parent b374729 commit 4ff8b93

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,21 @@ composer require zyimm/laravelquery-builder
1919
```
2020
## Usage
2121
```php
22+
/**
2223
// 目前支持条件操作符
23-
'=',
24-
'<>',
25-
'>',
26-
'>=',
27-
'<',
28-
'<=',
29-
'like',
30-
'full_like',
31-
'in',
32-
'not_in',
33-
'between',
34-
'not_between'
35-
<?php
24+
'=',
25+
'<>',
26+
'>',
27+
'>=',
28+
'<',
29+
'<=',
30+
'like',
31+
'full_like',
32+
'in',
33+
'not_in',
34+
'between',
35+
'not_between'
36+
**/
3637
use Illuminate\Support\Facades\DB;
3738
use zyimm\query\build\QueryWhere;
3839
/**
@@ -73,7 +74,6 @@ DB::enableQueryLog();
7374
$build->buildQueryWhere($data ,$condition, $query);
7475
})->get();
7576
dd(DB::getQueryLog());
76-
?>
7777
```
7878
生成SQL查询记录如下截图:
7979
![生成SQL查询记录](http://115.159.5.87/images/laravel-query-builder.jpg)

0 commit comments

Comments
 (0)