Doctrine\DBAL\Platforms\AbstractPlatform::getSubstringExpression
return string to call a function to get a substring inside an SQL statement
Note: Not SQL92, but common functionality. SQLite only supports the 2 parameter variant of this function
Signature
public function getSubstringExpression(string
$value,
[integer
$from = null,
[integer
$length = null]] )
Parameters
$value
— string- an sql string literal or column name/alias
$from
— integer- where to start the substring portion
$length
— integer- the substring portion length
Returns
- string