method select documentation in bbn\Db
Returns the first row resulting from the query as an object.
Example
X::dump($db->select('table_users', ['name', 'surname'], [['id','>','2']]));
/*
(object){
"name": "John",
"surname": "Smith",
}
function($table, $fields = [], array $where = [], array $order = [], int $start = 0)
{
return $this->language->select($table, $fields, $where, $order, $start);
}
Returns the first row resulting from the query as an object. 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