- 查询语言.distinct
- 函数原型
- 用法如下
查询语言.distinct
函数原型
public function distinct($bFlag = true);
用法如下
# SELECT DISTINCT `test`.* FROM `test`Db::table('test')->distinct()->getAll();
OR
# SELECT `test`.* FROM `test`Db::table('test')->distinct()->distinct(false)->getAll();
