From: Chris W. <ch...@cw...> - 2002-06-21 03:06:52
|
On Tue, 2002-06-18 at 08:38, Ray Zimmerman wrote: > I know it's been a while since we've discussed these ideas (around > 8/9/01 on ope...@li...), but I finally > decided to implement a refetch and an update method in SPOPS::DBI. I > know you weren't completely happy with the name 'update' ... feel > free to change it to something you like better. Excellent work! I think this should work fine. I applied the patch and then modified the code a bit -- mostly style this and that. There were a couple of little things (field mapping in 'update', putting a table into an arrayref, etc.), nothing to speak of. Now that I think of it, I should probably create a utility method to filter out private fields and translate mapped fields.... ok, there's a new method filter_fields() in SPOPS::DBI. We'll see how that works. How is 'field_update()' for a method name instead of 'update()'? > This currently does what I need it to do, but that doesn't mean it > won't break some area of SPOPS that I don't normally use (security, > field mapping, etc) It feels good to me. The fact that you're already using this is very reassuring :-) Chris PS - As for the other items: someday.... Daily paying nonperl work is eating up lots of time. There are days when I miss perl... -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |