summaryrefslogtreecommitdiff
path: root/framework/Data/Common/TDbTableColumn.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data/Common/TDbTableColumn.php')
-rw-r--r--framework/Data/Common/TDbTableColumn.php11
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()