src/RocknRoot/StrayFw/Database/Postgres/Mutation/AddEnum.php
public static function statement(Database $database, $type, array $values)
    {
        $statement = $database->getMasterLink()->prepare('CREATE TYPE ' . $type . ' AS ENUM(\'' . implode('\', \'', $values) . '\')');

        return $statement;
    }
public static function statement(Database $database, $type, array $values)
    {
        $statement = $database->getMasterLink()->prepare('CREATE TYPE ' . $type . ' AS ENUM(\'' . implode('\', \'', $values) . '\')');

        return $statement;
    }
public static function statement ( Database $ database , $ type , array $ values ) { $ statement = $ database -> getMasterLink ( ) -> prepare ( 'CREATE TYPE ' . $ type . ' AS ENUM(\'' . implode ( '\', \'' , $ values ) . '\')' ) ; return $ statement ; }
Prepare and return according PDO statement.

@param  Database     $database database
@param  string       $type     type name
@param  array        $values   enum values
@return \PDOStatement $statement prepared query
Prepare and return according PDO statement .