Doctrine\DBAL\Platforms\AbstractPlatform::getCheckDeclarationSQL
Obtain DBMS specific SQL code portion needed to set a CHECK constraint declaration to be used in statements like CREATE TABLE.
Signature
public function getCheckDeclarationSQL(array
$definition )
Parameters
$definition
— array- check definition
Returns
- string
- DBMS specific SQL code portion needed to set a CHECK constraint