NAME

MySQL::Partition::Handle - handler for MySQL::Partition

SYNOPSIS

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;

DESCRIPTION

MySQL::Partition::Handle is module of handler for MySQL::Partition.

INTERFACE

Methods

my $sql = $handle->statement

Returns a SQL statement to be executed.

$handle->execute

Execute the SQL.

LICENSE

Copyright (C) Songmu.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Songmu <y.songmu@gmail.com>