well, that's part of the issue. the database is inconsistent, and without spending a week trying to graft a better solution onto a third-party datasource *and* a 'legacy' MySQL system, i'm stuck passing the key field name.
and i don't know why i disagree with passing SQL statements around ... it just ... i dunno ... seems to me like it starts to turn into an unmaintainable spaghetti monster. sure, i'll be able to debug it tomorrow, but what about the next guy, or even me 6 months from now ( w/out looking at the code, i might as well be 'that new guy' ).
In reply to Re^6: abstraction -- level up!
by geektron
in thread abstraction -- level up!
by geektron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |