in reply to Re: DBI Binding Inconsistancy
in thread DBI Binding Inconsistancy
I have to agree with greywolf. IMO, it is conceptionally clearer (and, thus, easier to maintain) to explicitly conditionalize the execution of the query on whether or not you actually want a result (ie, have an id). It also saves load on the DB, which might not be an issue now but most likely will be at some point in the future.
bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (bbfu) (don't query) Re2: DBI Binding Inconsistancy
by Arguile (Hermit) on Sep 17, 2001 at 22:35 UTC |