Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
requiresSQLCommentHint example
yield
[
new
PostgreSQLPlatform
(
)
, 'UUID'
]
;
yield
[
new
SqlitePlatform
(
)
, 'BLOB'
]
;
yield
[
new
MySQLPlatform
(
)
, 'BINARY(16)'
]
;
if
(
class_exists
(
MariaDBPlatform::
class
)
)
{
yield
[
new
MariaDBPlatform
(
)
, 'BINARY(16)'
]
;
}
}
public
function
testRequiresSQLCommentHint
(
)
{
$this
->
assertTrue
(
$this
->type->
requiresSQLCommentHint
(
new
SqlitePlatform
(
)
)
)
;
}
}
yield
[
new
PostgreSQLPlatform
(
)
, 'UUID'
]
;
yield
[
new
SqlitePlatform
(
)
, 'BLOB'
]
;
yield
[
new
MySQLPlatform
(
)
, 'BINARY(16)'
]
;
if
(
class_exists
(
MariaDBPlatform::
class
)
)
{
yield
[
new
MariaDBPlatform
(
)
, 'BINARY(16)'
]
;
}
}
public
function
testRequiresSQLCommentHint
(
)
{
$this
->
assertTrue
(
$this
->type->
requiresSQLCommentHint
(
new
SqlitePlatform
(
)
)
)
;
}
}