catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.83k stars 1.15k forks source link

WHO NEED RANDOM (I ADD THIS FUNCTION) #463

Closed KiborgMaster closed 6 years ago

KiborgMaster commented 8 years ago

Find string Number 508 and after add code

else if($ORDER == 'RAND()' || $ORDER == 'rand()'){ $where_clause .= ' ORDER BY RAND()'; }

catfan commented 6 years ago

Check out the new feature raw object https://medoo.in/api/raw.