Skip to content

Commit

Permalink
更新readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyangyang committed Aug 3, 2020
1 parent b374729 commit 4ff8b93
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@ composer require zyimm/laravelquery-builder
```
## Usage
```php
/**
// 目前支持条件操作符
'=',
'<>',
'>',
'>=',
'<',
'<=',
'like',
'full_like',
'in',
'not_in',
'between',
'not_between'
<?php
'=',
'<>',
'>',
'>=',
'<',
'<=',
'like',
'full_like',
'in',
'not_in',
'between',
'not_between'
**/
use Illuminate\Support\Facades\DB;
use zyimm\query\build\QueryWhere;
/**
Expand Down Expand Up @@ -73,7 +74,6 @@ DB::enableQueryLog();
$build->buildQueryWhere($data ,$condition, $query);
})->get();
dd(DB::getQueryLog());
?>
```
生成SQL查询记录如下截图:
![生成SQL查询记录](http://115.159.5.87/images/laravel-query-builder.jpg)
Expand Down

0 comments on commit 4ff8b93

Please # to comment.