make-extractor

Name

make-extractor -- Create a tuple extractor function.

Type: function

Synopsis

make-extractor( class cnxn result num-fields, extractor);

Arguments

class

An instance of <<class>>

cnxn

An instance of <pg95-connection>

result

An instance of <pg95-result>

num-fields

An instance of <fixnum>

Return Values

extractor

An instance of <function>

Description

Compiles an extraction plan and returns a function which uses the plan to extract the ith tuple of the given result. The function returned is a function of one argument, which is the tuple number. That function returns an instance of class.