method rselectRandom documentation in bbn\Db

function($table, array $fields = [], array $where = []) { if ($this->check() && ($num = $this->count($table, $where))) { $args = $this->_add_kind($this->_set_start($this->_set_limit_1(\func_get_args()), random_int(0, $num - 1))); if ($r = $this->_exec(...$args)) { return $r->getRow(); } } return null; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.