Group
Extension

Matches 1

DBIx-FixtureLoader ( B/BA/BAYASHI/DBIx-FixtureLoader-0.21.tar.gz, BAYASHI, 2022; MetaCPAN )
DBIx-FixtureLoader/lib/DBIx/FixtureLoader.pm ( view source; MetaCPAN )
$self->_get_data_from_csv($file, $format);
    }
    else {
        if ($format eq 'json') {
            require JSON;
            my $content = do {
                local $/;
                open my 
$fh, '<', $file or die $!;
                <$fh>;
            };
            $rows = JSON::decode_json($content);
        }
        elsif ($format =~ /ya?ml/) {
            require YAML::Tiny;
       
=item C<table:Str>

table name of database.

=item C<format:Str>

data format. "CSV", "YAML" and "JSON" are available.

=item C<update:Bool>

Using C<< ON DUPLICATE KEY UPDATE >> or not. Default value

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.