summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
authorwei <>2007-02-02 05:29:00 +0000
committerwei <>2007-02-02 05:29:00 +0000
commitebe35517b35dc87eaec1333263cb78e9bd4ef2e1 (patch)
tree922abab3dd85415624269640cc600c487b338186 /framework/Data
parent72ead8d5896b9a24df4841f9c31cff1dc2fcd878 (diff)
add unit test for sqlmap statement extends
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/SqlMap/Statements/TMappedStatement.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/Data/SqlMap/Statements/TMappedStatement.php b/framework/Data/SqlMap/Statements/TMappedStatement.php
index feba00a4..e56e73ce 100644
--- a/framework/Data/SqlMap/Statements/TMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TMappedStatement.php
@@ -122,6 +122,11 @@ class TMappedStatement extends TComponent implements IMappedStatement
$this->initialGroupByResults();
}
+ public function getSqlString()
+ {
+ return $this->getStatement()->getSqlText()->getPreparedStatement()->getPreparedSql();
+ }
+
/**
* Execute SQL Query.
* @param IDbConnection database connection