SilverStripe\PostgreSQL\PostgreSQLConnector::checkStringTogglesLiteral
Determines if the SQL fragment either breaks into or out of a string literal by counting single quotes
Handles double-quote escaped quotes as well as slash escaped quotes
Signature
public function checkStringTogglesLiteral(string
$input )
Parameters
$input
— string- The SQL fragment
Returns
- boolean
- True if the string breaks into or out of a string literal
Line | Task |
---|---|
161+ | Test this! |