method getOne documentation in bbn\Db

Executes the given query with given vars, and extracts the first cell's result.

Example

X::dump($db->getOne("SELECT name FROM table_users WHERE id>?", 138)); // (string) John function() { return $this->language->getOne(...\func_get_args()); }

Executes the given query with given vars, and extracts the first cell's result. 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.