1Wiki::Toolkit::Store::MUysSeQrL(C3o)ntributed Perl DocumWeinktia:t:iToonolkit::Store::MySQL(3)
2
3
4

NAME

6       Wiki::Toolkit::Store::MySQL - MySQL storage backend for Wiki::Toolkit
7

REQUIRES

9       Subclasses Wiki::Toolkit::Store::Database.
10

SYNOPSIS

12       See Wiki::Toolkit::Store::Database
13

METHODS

15       check_and_write_node
16             $store->check_and_write_node( node     => $node,
17                           checksum => $checksum,
18                                           %other_args );
19
20           Locks the node, verifies the checksum, calls
21           "write_node_post_locking" with all supplied arguments, unlocks the
22           node. Returns the version of the updated node on successful
23           writing, 0 if checksum doesn't match, -1 if the change was not
24           applied, croaks on error.
25
26           Note:  Uses MySQL's user level locking, so any locks are released
27           when the database handle disconnects.  Doing it like this because I
28           can't seem to get it to work properly with transactions.
29
30
31
32perl v5.36.0                      2023-01-20    Wiki::Toolkit::Store::MySQL(3)
Impressum