mirror of
https://github.com/dg/dibi.git
synced 2025-08-14 01:54:08 +02:00
enabled 'unsigned' option on mysql and mysqli column info
This commit is contained in:
@@ -532,6 +532,16 @@ class DibiColumnInfo extends DibiObject
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isUnsigned()
|
||||
{
|
||||
return isset($this->info['unsigned']) ? (bool) $this->info['unsigned'] : NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isNullable()
|
||||
{
|
||||
return isset($this->info['nullable']) ? (bool) $this->info['nullable'] : NULL;
|
||||
|
Reference in New Issue
Block a user