1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-19 04:11:44 +02:00

- added dibi-field-type autodetection

- added DibiColumnInfo::getVendorInfo()
This commit is contained in:
David Grudl
2008-10-28 14:37:40 +00:00
parent 318b3093a5
commit 7565ffb1d4
9 changed files with 119 additions and 50 deletions

View File

@@ -400,10 +400,12 @@ class DibiPdoDriver extends DibiObject implements IDibiDriver
throw new DibiDriverException('Driver does not support meta data.');
}
$res[] = array(
'type' => NULL,
'name' => $row['name'],
'table' => $row['table'],
'nativetype' => $row['native_type'],
'fullname' => $row['table'] ? $row['table'] . '.' . $row['name'] : $row['name'],
) + $row;
'vendor' => $row,
);
}
return $res;
}