Dominic Hargreaves > Wiki-Toolkit-0.75 > Wiki::Toolkit::Store::SQLite

Download:
Wiki-Toolkit-0.75.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View Bugs
Report a bug
Module Version: 0.05   Source   Latest Release: Wiki-Toolkit-0.77

NAME ^

Wiki::Toolkit::Store::SQLite - SQLite storage backend for Wiki::Toolkit

SYNOPSIS ^

See Wiki::Toolkit::Store::Database

METHODS ^

new
  my $store = Wiki::Toolkit::Store::SQLite->new( dbname => "wiki" );

The dbname parameter is mandatory.

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 1 on successful writing, 0 if checksum doesn't match, croaks on error.