SilverStripe\PostgreSQL\PostgreSQLConnector::escapeParameter
Escape a parameter to be used in the connection string
Signature
protected function escapeParameter(array
$parameters,
string
$key,
string
$name,
[mixed
$default = NULL] )
Parameters
$parameters
— array- All parameters
$key
— string- The key in $parameters to pull from
$name
— string- The connection string parameter name
$default
— mixed- The default value, or null if optional
Returns
- string
- The completed fragment in the form name=value