method getSelect documentation in bbn\Db

Return SQL code for row(s) SELECT.

Example

X::dump($db->getSelect(['tables' => ['users'],'fields' => ['id', 'name']])); /* (string) SELECT `table_users`.`name`, `table_users`.`surname` function(array $cfg) { $this->ensureLanguageMethodExists(__FUNCTION__); return $this->language->getSelect($cfg); }

Return SQL code for row(s) SELECT. 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.