MySQL::Partition::Handle - handler for MySQL::Partition
use MySQL::Partition; my $dbh = DBI->connect(@connect_info); my $list_partition = MySQL::Partition->new(...); # prepare_* method returns MySQL::Partition::Handle object my $handle = $list_partition->prepare_add_partitions('p4' => 4); print $handle->statement; $handle->execute;
MySQL::Partition::Handle is module of handler for MySQL::Partition.
my $sql = $handle->statement
Returns a SQL statement to be executed.
$handle->execute
Execute the SQL.
Copyright (C) Songmu.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Songmu <y.songmu@gmail.com>
To install MySQL::Partition, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MySQL::Partition
CPAN shell
perl -MCPAN -e shell install MySQL::Partition
For more information on module installation, please visit the detailed CPAN module installation guide.