MSSQL & Data Object
| From: | Joern Barthel | Date: | Sat, 13 Sep 2003 18:17:38 +0000 |
| Subject: | MSSQL & Data Object | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7788@lists.php.net to get a copy of this message | ||
Two days ago I started taking a deeper look into DataObject - despite
[1] is suggesting otherwise I had problems getting my scheme
autogenerated by createTable.php.
After doing a little bit of investigation I came to attribute it to a
missing mssql_fields_flags function - in the most recent DB version
(DB-1.5.0RC1, which I'm using) is no workaround implemented so
DataObject has no way of knowing whether the current field is a
primary key.
I made a small hack to achieve just that but I'm unsure if this there
is no other way around this problem? Is [1] plain wrong or is there a
misunderstanding on my side?
rgs/joern
[1]: http://marc.theaimsgroup.com/?l=pear-general&m=105853141907596&w=2
--