method getData documentation in bbn\Appui\Grid
function()
{
if ( $this->check() ){
$this->chrono->start();
if ( $this->query ){
$this->sql = $this->getQuery();
$q = $this->db->query($this->sql, \array_map(function($v){
if (Str::isUid($v)) {
$v = hex2bin($v);
}
return $v;
}, $this->db->getQueryValues($this->cfg)));
$rows = $q->getRows();
}
else {
$rows = $this->db->rselectAll($this->cfg);
$this->sql = $this->cfg['sql'];
}
$this->query_time = $this->chrono->measure();
$this->chrono->stop();
return $rows;
}
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.
© 2011-2023
BBN Solutions