Name
dump_results
Synopsis
$rows = $sth->dump_results($maxlen, $lsep, $fsep, $fh);
Fetches
all
the rows from $sth
, calls
DBI::neat_list
for each row, and prints the
results to $fh
(defaults to
STDOUT
) separated by $lsep
(default "\n"
). $fsep
defaults
to ", "
and $maxlen
defaults to
35
.
This method is designed as a handy utility for prototyping and
testing queries. Since it uses neat_list
to format
and edit the string for reading by humans, it is not recomended for
data transfer applications.
Get Programming the Perl DBI now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.