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


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

Index


NAME

Top

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

SYNOPSIS

Top

See CGI::Wiki::Store::Database

METHODS

Top

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.


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