1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-04 13:17:58 +02:00

Merge pull request #208 from ondrej-tuhacek/master

FirebirdDriver::delimite - Quotation marks for escaping identifiers
This commit is contained in:
David Grudl
2016-02-04 16:08:25 +01:00

View File

@@ -268,7 +268,7 @@ class FirebirdDriver implements Dibi\Driver, Dibi\ResultDriver, Dibi\Reflector
public function escapeIdentifier($value)
{
return $value;
return '"' . str_replace('"', '""', $value). '"';
}