public function unescapeBytea(string $input): string
    {
        if ($this->resource->getType() != Resource::TYPE_PGSQL_LINK) {
            throw new AgentException('unescapeBytea() available for only Pgsql!');
        }

        return pg_unescape_bytea($input);
    }
public function unescapeBytea(string $input): string
    {
        if ($this->resource->getType() != Resource::TYPE_PGSQL_LINK) {
            throw new AgentException('unescapeBytea() available for only Pgsql!');
        }

        return pg_unescape_bytea($input);
    }
public function unescapeBytea ( string $ input ) : string { if ( $ this -> resource -> getType ( ) != Resource :: TYPE_PGSQL_LINK ) { throw new AgentException ( 'unescapeBytea() available for only Pgsql!' ) ; } return pg_unescape_bytea ( $ input ) ; }
Unescape bytea.
@param  string $input
@return string
@throws Oppa\Agent\AgentException
Unescape bytea .