From e417995ee504ccdca1c008c87baeedd1cbdd1e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nil=20Portugu=C3=A9s=20Calder=C3=B3?= Date: Thu, 4 Feb 2016 11:28:27 +0100 Subject: [PATCH] Compatibility for PgSQL --- src/Builder/GenericBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Builder/GenericBuilder.php b/src/Builder/GenericBuilder.php index 0d75a22..4b44632 100644 --- a/src/Builder/GenericBuilder.php +++ b/src/Builder/GenericBuilder.php @@ -292,7 +292,7 @@ public function writeTableName(Table $table) */ public function writeColumnAlias($alias) { - return "'{$alias}'"; + return sprintf('"%s"', $alias); } /**