Dominic Hargreaves > CGI-Wiki-0.63 > CGI::Wiki::Store::SQLite

Download:
CGI-Wiki-0.63.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.05   Source  

NAME ^

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

SYNOPSIS ^

See CGI::Wiki::Store::Database

METHODS ^

new
  my $store = CGI::Wiki::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.

syntax highlighting: