Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Latest commit

 

History

History
41 lines (24 loc) · 566 Bytes

reset.md

File metadata and controls

41 lines (24 loc) · 566 Bytes

查询语言.reset

函数原型

public function reset($sOption = null);

用法如下

# SELECT `newtable`.*  FROM `newtable`  WHERE `newtable`.`new` = 'world'
Db::table('test')->

where('id', '=', 5)->

where('name', 'like', 'me')->

reset()->

table('newtable')->

where('new', '=', 'world')->

getAll();
    
# SELECT `test`.*  FROM `test`  WHERE `test`.`new` LIKE 'new'
Db::table('test')->

where('id', '=', 5)->

where('name', 'like', 'me')->

setColumns('name,id')->

reset('where')->

where('new', 'like', 'new')->

getAll();