Work on #5 . Created a prepareCannedQuery() method to look up and prepare a canned SQL statement. This simplifies the code a little and it also paves the way toward transparently caching prepared statements. The change also moves the code a little further away from dealing directly with the DB connection and the query configuration storage.
Work on #5 . Created a prepareCannedQuery() method to look up and prepare
a canned SQL statement. This simplifies the code a little and it also paves
the way toward transparently caching prepared statements.
The change also moves the code a little further away from dealing directly
with the DB connection and the query configuration storage.

evought/VCard-Tools,evought/VCard-Tools