public function getQueryBuilder() { if ($this->QueryBuilder) { return $this->QueryBuilder; } $this->QueryBuilder = \fl\db\connect::getQueryerBuilder($this->dbcfg); return $this->QueryBuilder; }
function __construct($dbcfg) { parent::__construct($dbcfg); }
public function selectcount() { $data = $this->_connect->query($this->_counsql, $this->_counbindvalue, $this->_connect->intransaction())->fetch(); return $data['count']; }
static function checkTransaction($dbhash, $isMaster) { if (!$isMaster) { return; } $QueryBuilder = \fl\db\connect::getQueryerBuilder($dbhash); $QueryBuilder->getconnect()->beginTransaction(); }