method getObj documentation in bbn\Db

Return the first row resulting from the query as an object (similar to {@link getObject()}).

Example

X::dump($db->getObj("SELECT surname FROM table_users")); /* (obj){ "name" => "Smith" } function() { return $this->getObject(...\func_get_args()); }

Return the first row resulting from the query as an object (similar to {@link getObject()}). 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.