Re: [PATCH] DB_DataObject and DB_DataObject_Generator
| From: | Sergey A Lipnevich | Date: | Thu, 05 Dec 2002 17:19:13 +0000 |
| Subject: | Re: [PATCH] DB_DataObject and DB_DataObject_Generator | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11391@lists.php.net to get a copy of this message | ||
Hi!
Alan: I've installed using
pear upgrade DB_DataObject, good stuff so far. I've embedded Generator class in my own script, so I don't know if createTables.php works, but DB_DataObject and Generator are fine. I wish generator could add _database = 'xyz' in addition to __table = 'abc'. Now I'm doing this manually, because in my scenario _database doesn't change.
Stijn: I've looked over your changes to _connect, and it negates the logic I suggested. The logic is, "preserve _database if it's set, otherwise assign it from table_xyz=<database> option, otherwise assign from DSN". You neglect the first step.
Thanks a lot!
Sergey.
Alan Knowles wrote:
Have added this now - and released, can you download and check it works ok Thanks Alan