Implement fetchObj / Suggestions Anyone?
Implement fetchObj
In fResult.php, you have implemented fetchRow. I'd love to see fetchObj based on MySQL's fetch_object method.
Why? Objects are easier to extract than array elements because the syntax is easier to type and read.
Example:
Easy to Type
while ($result->valid()) { $row = $result->fetchObj(); $col1 = $row->col1; $col2 = $row->col2; $col3 = $row->col3; }
Harder to Type
while ($result->valid()) { $row = $result->fetchRow(); $col1 = $row['col1']; $col2 = $row['col2']; $col3 = $row['col3']; }
AppBeacon
03/12/09 19:46:39
-
Message #113
I'm going to look into this to see if there is a way to cast to an object without just adding another method. This will probably be a little ways out since there are a few things before it on my priority list.
wbond03/16/09 07:57:11 -
Message #140
I think I've come up with a nice, intuitive solutions for this. If I can just get these changes for Oracle out the door then we should be looking at this shortly after that.
wbond03/23/09 15:27:47 -
Message #154
I've opened ticket #165 to track the progress of this
wbond03/27/09 22:41:41
