Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.12.3

Bug #277 Fetching Objects with PEAR DB
Submitted: 2003-11-19 22:34 UTC
From: terry at scribendi dot com Assigned: danielc
Status: Closed Package: DB
PHP Version: 4.3.2 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 25 - 3 = ?

 
 [2003-11-19 22:34 UTC] terry at scribendi dot com
Description: ------------ Please could we have more detailed documentation on using DB_FETCHMODE_OBJECT with a classname to populate? I have just spent two days trying to work out how to do object concurrency control against a database, only to discover that a heap of my code duplicates this existing, but little-documented functionality. The ability to use DB as a simple object factory like this is great - please may I make a feature request: the ability to feed objects derived from DB_Row back into the autoExecute mechanism so that they can simply be persisted back to the database?

Comments

 [2004-02-03 23:54 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-02-25 11:14 UTC] didou at php dot net
The documentation for DB_FETCHMODE_OBJECT is clear enough IMHO. Now for the feature request, let's turn this bug to a package bug. Category => DB
 [2004-03-06 05:16 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!