method getWhere documentation in bbn\Db

Return a string with 'where' conditions.

Example

X::dump($db->getWhere(['id' => 9], 'table_users')); // (string) WHERE 1 AND `table_users`.`id` = ? function(array $cfg) { $this->ensureLanguageMethodExists(__FUNCTION__); return $this->language->getWhere($cfg); }

Return a string with 'where' conditions. 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.