method iselect documentation in bbn\Db\Languages\Sql
Return the first row resulting from the query as a numeric array.
Example
X::dump($db->iselect("tab_users", ["id", "name", "surname"], [["id", ">", 1]], ["id" => "ASC"], 2));
/*
(array)[
4,
"Jack",
"Stewart"
]
function($table, $fields = [], array $where = [], array $order = [], int $start = 0)
{
if ($r = $this->_exec(...$this->_add_kind($this->_set_limit_1(\func_get_args())))) {
return $r->getIrow();
}
return null;
}
Return the first row resulting from the query as a numeric 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-2023
BBN Solutions