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",
                                  checksum_method => \&md5_hex );

The dbname parameter is mandatory. If you want defaults done for you then get at it via CGI::Wiki instead.

check_and_write_node
  $store->check_and_write_node( node     => $node,
				content  => $content,
				checksum => $checksum ) or return 0;

Locks the node, verifies the checksum and writes the content to the node, unlocks the node. Returns 1 on success, 0 if checksum doesn't match, croaks on error.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 31:

=over without closing =back

Around line 51:

=over without closing =back