DB_DataObject and SQLite
| From: | Nikhil G. Daddikar | Date: | Mon, 26 Jul 2004 13:42:03 +0000 |
| Subject: | DB_DataObject and SQLite | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13846@lists.php.net to get a copy of this message | ||
1) Has anybody got DB_DataObject to work with SQLite? I tried to use it but I get the following error:
[db_error: message="DB Error: DB backend not capable" code=-9 mode=return level=notice prefix="" info="SELECT name FROM sqlite_master WHERE type='table' UNION ALL SELECT name FROM sqlite_temp_master WHERE type='table' ORDER BY name;"]
2) Is DB_DataObject going to do something about database neutral dates? I am planning to write an app and give the user a choice of mysql or sqlite. But it looks like I have to do a "if (mysql) then.. else.." to manipulate dates.
Any help would be appreciated.