Help language development. Donate to The Perl Foundation

DB::Pg cpan:CTILMES last updated on 2021-07-02

eg/copyout.raku
#!/usr/bin/env raku

use DB::Pg;

my $pg = DB::Pg.new;

for $pg.execute("copy foo to stdout (format csv)") -> $line
{
    print $line;
}