method dbId documentation in bbn\Appui\Database

Returns the option's ID of a database.

function(string $db = '', string $host = '', string $engine = 'mysql') { if (!\bbn\Str::isUid($host)) { $host = $this->hostId($host, $engine); } if (($id_parent = self::getOptionId('dbs', $engine)) && ($res = $this->o->fromCode($db ?: $this->db->getCurrent(), $id_parent)) ) { return $res; } return null; }

Returns the option's ID of a database. 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.