SQLite compatibility implementation for the RAND() SQL function.
public function sqlFunctionRand($seed = NULL) { if (isset($seed)) { mt_srand($seed); } return mt_rand() / mt_getrandmax(); }