diff options
author | wei <> | 2007-02-02 05:29:00 +0000 |
---|---|---|
committer | wei <> | 2007-02-02 05:29:00 +0000 |
commit | ebe35517b35dc87eaec1333263cb78e9bd4ef2e1 (patch) | |
tree | 922abab3dd85415624269640cc600c487b338186 /framework/Data/SqlMap/Statements | |
parent | 72ead8d5896b9a24df4841f9c31cff1dc2fcd878 (diff) |
add unit test for sqlmap statement extends
Diffstat (limited to 'framework/Data/SqlMap/Statements')
-rw-r--r-- | framework/Data/SqlMap/Statements/TMappedStatement.php | 5 |
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
|