public function getFunctions($db = NULL): array
    {
        if (!$db) {
            $db = Configuration::getInstance()->get('db')['name'];
        }

        $res = [];
        foreach (q_assoc_iterator('SHOW FUNCTION STATUS WHERE `Db` = "' . $db . '"') as $v) {
            $res[] = $v['Name'];
        }

        return $res;
    }
public function getFunctions($db = NULL): array
    {
        if (!$db) {
            $db = Configuration::getInstance()->get('db')['name'];
        }

        $res = [];
        foreach (q_assoc_iterator('SHOW FUNCTION STATUS WHERE `Db` = "' . $db . '"') as $v) {
            $res[] = $v['Name'];
        }

        return $res;
    }
public function getFunctions ( $ db = NULL ) : array { if ( ! $ db ) { $ db = Configuration :: getInstance ( ) -> get ( 'db' ) [ 'name' ] ; } $ res = [ ] ; foreach ( q_assoc_iterator ( 'SHOW FUNCTION STATUS WHERE `Db` = "' . $ db . '"' ) as $ v ) { $ res [ ] = $ v [ 'Name' ] ; } return $ res ; }
Show functions in database

@param string $db - database name
@return array - list of non-temporary tables, by pairs key/value
Show functions in database