Wiki::Toolkit::Store::MySQL - MySQL storage backend for Wiki::Toolkit
Subclasses Wiki::Toolkit::Store::Database.
See Wiki::Toolkit::Store::Database
$store->check_and_write_node( node => $node, checksum => $checksum, %other_args );
Locks the node, verifies the checksum, calls write_node_post_locking with all supplied arguments, unlocks the node. Returns the version of the updated node on successful writing, 0 if checksum doesn't match, -1 if the change was not applied, croaks on error.
write_node_post_locking
Note: Uses MySQL's user level locking, so any locks are released when the database handle disconnects. Doing it like this because I can't seem to get it to work properly with transactions.
To install Wiki::Toolkit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wiki::Toolkit
CPAN shell
perl -MCPAN -e shell install Wiki::Toolkit
For more information on module installation, please visit the detailed CPAN module installation guide.