From: Santiago Bazerque <sbazerque@gm...> - 2006-03-06 20:36:16
I would like SQLObject to perform the mapping alternateID -> ID in
memory when retrieving an object that is in the cache using byName.
From a quick look at the code (and looking at the queries in debug
mode) it would seem that this is not the behavior it currently has (at
least in 0.7.1).
Do you think this would be a valuable addition? It would seem that
keeping the required few extra dictionaries in memory could pay off
very well in some cases. Of course one should be able to switch the
feature off. I am considering giving coding this feature a try, if
there are no obvious drawbacks.