mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
增加随机排序支持
This commit is contained in:
@@ -107,4 +107,14 @@ class Mysql extends Driver
|
||||
return $key;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 随机排序
|
||||
* @access protected
|
||||
* @return string
|
||||
*/
|
||||
protected function parseRand()
|
||||
{
|
||||
return 'rand()';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user