DBIx::Skinny::Mixin::BulkInsertWithTrigger -
package YourProj::DB; use DBIx::Skinny; use DBIx::Skinny::Mixin modules => [ 'BulkInsertWithTrigger']; package main; YourProj::DB->bulk_insert_with_pre_insert_trigger(your_table => [ { id => 1, name => 'foo' }, { id => 2, name => 'bar' }, ]);
pre_insert trigger is executed for each item before bulk_insert.
DBIx::Skinny::Mixin::BulkInsertWithTrigger is for bulk_inserting data with pre_insert trigger.
Keiji Yoshimi <walf443 at gmail dot com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install DBIx::Skinny::Mixin::BulkInsertWithTrigger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Skinny::Mixin::BulkInsertWithTrigger
CPAN shell
perl -MCPAN -e shell install DBIx::Skinny::Mixin::BulkInsertWithTrigger
For more information on module installation, please visit the detailed CPAN module installation guide.