that's fine. that is exactly what memoize does. If you called your memoized function with func('select * from table1')the second time you ran it with that input, it would simply return the cached value from the first call.
And that is fine, if you don't care that the data may have changed in the db in the meantime.
-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
| [reply] |