Wiki::Toolkit::Store::Pg - Postgres storage backend for Wiki::Toolkit


Wiki-Toolkit documentation  | view source Contained in the Wiki-Toolkit distribution.

Index


NAME

Top

Wiki::Toolkit::Store::Pg - Postgres storage backend for Wiki::Toolkit

REQUIRES

Top

Subclasses Wiki::Toolkit::Store::Database.

SYNOPSIS

Top

See Wiki::Toolkit::Store::Database

METHODS

Top

check_and_write_node
  $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.


Wiki-Toolkit documentation  | view source Contained in the Wiki-Toolkit distribution.