@@ -927,7 +927,10 @@ Now we implement our ``Doctrine\DBAL\Types\Type`` instance:
}
}
The job of Doctrine-DBAL is to transform your type into an SQL declaration. You can modify the SQL declaration Doctrine will produce. At first, to enable this feature, you must override the canRequireSQLConversion method:
The job of Doctrine-DBAL is to transform your type into an SQL
declaration. You can modify the SQL declaration Doctrine will produce.
At first, to enable this feature, you must override the
canRequireSQLConversion method:
::
...
...
@@ -937,7 +940,8 @@ The job of Doctrine-DBAL is to transform your type into an SQL declaration. You
return true;
}
Then you override the methods convertToPhpValueSQL and convertToDatabaseValueSQL :
Then you override the methods convertToPhpValueSQL and