From 4ff8b93cd01a6b7daa4ab2b6987320299d4718c7 Mon Sep 17 00:00:00 2001 From: zhouyangyang Date: Mon, 3 Aug 2020 10:39:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 8161547..7250e00 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,21 @@ composer require zyimm/laravelquery-builder ``` ## Usage ```php +/** // 目前支持条件操作符 -'=', -'<>', -'>', -'>=', -'<', -'<=', -'like', -'full_like', -'in', -'not_in', -'between', -'not_between' -', + '>', + '>=', + '<', + '<=', + 'like', + 'full_like', + 'in', + 'not_in', + 'between', + 'not_between' +**/ use Illuminate\Support\Facades\DB; use zyimm\query\build\QueryWhere; /** @@ -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)