summaryrefslogtreecommitdiff
path: root/framework/Data
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-11-09 22:12:14 +0000
committerctrlaltca@gmail.com <>2011-11-09 22:12:14 +0000
commit51aa293bdd77fa6a7bc65341c962655ab7ef52e7 (patch)
tree6638d1ce920df99d38f91c9a9b9c43f9381f8d95 /framework/Data
parent5380a870b799098d7900b1098b4e9930ba71f10e (diff)
fix #370:
- deprecated TSqliteCache, use TDbCache instead - reworked the dataaccess code of demos/blog - other smalll fixes around
Diffstat (limited to 'framework/Data')
-rw-r--r--framework/Data/TDbCommand.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/Data/TDbCommand.php b/framework/Data/TDbCommand.php
index 937a44ff..f542a277 100644
--- a/framework/Data/TDbCommand.php
+++ b/framework/Data/TDbCommand.php
@@ -4,7 +4,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2011 PradoSoft
+ * @copyright Copyright &copy; 2005-2011 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Data
@@ -133,6 +133,8 @@ class TDbCommand extends TComponent
* using named placeholders, this will be a parameter name of
* the form :name. For a prepared statement using question mark
* placeholders, this will be the 1-indexed position of the parameter.
+ * Unlike {@link bindValue}, the variable is bound as a reference and will
+ * only be evaluated at the time that {@link execute} or {@link query} is called.
* @param mixed Name of the PHP variable to bind to the SQL statement parameter
* @param int SQL data type of the parameter
* @param int length of the data type