diff options
author | wei <> | 2007-04-12 12:43:49 +0000 |
---|---|---|
committer | wei <> | 2007-04-12 12:43:49 +0000 |
commit | 32b73a0b1dfcd33e07e7fd2b2cf2fd7d42cf48a0 (patch) | |
tree | bf2b348fa854d82dcf8a9f43ffd43df3eba5a1e8 /framework/Data/Common/TDbTableColumn.php | |
parent | 815ce4bcc616c4b0618046651174062efc93fd06 (diff) |
Add Sqlite driver.
Diffstat (limited to 'framework/Data/Common/TDbTableColumn.php')
-rw-r--r-- | framework/Data/Common/TDbTableColumn.php | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/framework/Data/Common/TDbTableColumn.php b/framework/Data/Common/TDbTableColumn.php index 4d9bd8a0..c5c9ac80 100644 --- a/framework/Data/Common/TDbTableColumn.php +++ b/framework/Data/Common/TDbTableColumn.php @@ -62,7 +62,7 @@ class TDbTableColumn extends TComponent }
/**
- * @param integer PDO bind param/value types.
+ * @param integer PDO bind param/value types, default returns string.
*/
public function getPdoType()
{
@@ -72,6 +72,7 @@ class TDbTableColumn extends TComponent case 'integer': return PDO::PARAM_INT;
case 'string' : return PDO::PARAM_STR;
}
+ return PDO::PARAM_STR;
}
/**
@@ -155,14 +156,6 @@ class TDbTableColumn extends TComponent }
/**
- * @return boolean whether a unique constraint applies to this column, default is false.
- */
- public function getIsUnique()
- {
- return $this->getInfo('IsUnique', false);
- }
-
- /**
* @param string sequence name, only applicable if column is a sequence
*/
public function getSequenceName()
|