chickadee » postgresql » copy-query-for-each

copy-query-for-each PROC CONNECTION #!rest PARAMSprocedure
(copy-query*-for-each PROC CONNECTION [PARAMS] [format: FORMAT] [raw: RAW?])procedure

Simple for-each, calling the (PROC data) on each row of COPY TO STDOUT data returned by QUERY, in turn, only for the purpose of its side-effects.

The starred and nonstarred version are analogous to query and query*.