public function getSchemaNames($refresh = false)
    {
        if ($this->_schemaNames === null || $refresh) {
            return $this->findSchemaNames()->then(
                function($names) use($refresh) {
                    $this->_schemaNames = $names;
                    return $names;
                }
            );
        }

        return resolve($this->_schemaNames);
    }
public function getSchemaNames($refresh = false)
    {
        if ($this->_schemaNames === null || $refresh) {
            return $this->findSchemaNames()->then(
                function($names) use($refresh) {
                    $this->_schemaNames = $names;
                    return $names;
                }
            );
        }

        return resolve($this->_schemaNames);
    }
public function getSchemaNames ( $ refresh = false ) { if ( $ this -> _schemaNames === null || $ refresh ) { return $ this -> findSchemaNames ( ) -> then ( function ( $ names ) use ( $ refresh ) { $ this -> _schemaNames = $ names ; return $ names ; } ) ; } return resolve ( $ this -> _schemaNames ) ; }
Returns all schema names in the database, except system schemas.
@param bool $refresh whether to fetch the latest available schema names. If this is false,
schema names fetched previously (if available) will be returned.
@return ExtendedPromiseInterface with string[] all schema names in the database, except system schemas.
Returns all schema names in the database except system schemas .