Description. This method makes it possible to add a column to the partitioning key of the table to which it belongs, or to remove the column from the table's partitioning key.
Changes made to columns using this method are not visible to MySQL.
For additional information, see
Section 4.1.2.16, “Column::getPartitionKey()”.
Signature.
void setPartitionKey
(
bool enable
)
Parameters.
The single parameter enable is a
Boolean value. Passing true to this method
makes the column part of the table's partitioning key; if
enable is false,
then the column is removed from the partitioning key.
Return Value. No return value.
