method rselect documentation in bbn\Db
Return the first row resulting from the query as an indexed array.
Example
X::dump($db->rselect("tab_users", ["id", "name", "surname"], ["id", ">", 1], ["id" => "ASC"], 2));
/*
(array) [
"id" => 4,
"name" => "John",
"surname" => "Smith"
]
function($table, $fields = [], array $where = [], array $order = [], int $start = 0)
{
return $this->language->rselect($table, $fields, $where, $order, $start);
}
Return the first row resulting from the query as an indexed array. 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.
© 2011-2025
BBN Solutions