ad_partner_memoize_list_from_db

EveAndersson.com : API Browser : ad_partner_memoize_list_from_db

ad_partner_memoize_list_from_db

ad_partner_memoize_list_from_db [ -bind bind ] sql_query [ var_list ] \
    [ divider ] [ also_memoize_as ]
Defined in tcl/ad-partner-defs.tcl

Allows you to memoize database queries without having to grab a db handle first. If the query you specified is not in the cache, this proc grabs a db handle, and memoizes a list, separated by divider inside the cache, of the results. Your calling proc can then process this list as it normally. Each var in var_list is simply appended as a single element to the list that is eventually returned.

Switches:
-bind (optional)

Parameters:
sql_query
var_list (optional)
divider (optional)
also_memoize_as (optional)
[ show source ]

Show another procedure:

eve@eveandersson.com