summaryrefslogtreecommitdiff
path: root/framework/Data/Common/Pgsql/TPgsqlTableInfo.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data/Common/Pgsql/TPgsqlTableInfo.php')
-rw-r--r--framework/Data/Common/Pgsql/TPgsqlTableInfo.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/framework/Data/Common/Pgsql/TPgsqlTableInfo.php b/framework/Data/Common/Pgsql/TPgsqlTableInfo.php
index a2670fe0..c25fbdf4 100644
--- a/framework/Data/Common/Pgsql/TPgsqlTableInfo.php
+++ b/framework/Data/Common/Pgsql/TPgsqlTableInfo.php
@@ -44,6 +44,16 @@ class TPgsqlTableInfo extends TDbTableInfo
else
$this->getTableName();
}
+
+ /**
+ * @param TDbConnection database connection.
+ * @return TDbCommandBuilder new command builder
+ */
+ public function createCommandBuilder($connection)
+ {
+ Prado::using('System.Data.Common.Pgsql.TPgsqlCommandBuilder');
+ return new TPgsqlCommandBuilder($connection,$this);
+ }
}
?> \ No newline at end of file