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. 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, links_to => \@links_to ) 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.
The
links_to
parameter is optional, but if you do supply it then this node will be returned when callinglist_backlinks
on the nodes in@links_to
. Note that if you don't supply the ref then the store will assume that this node doesn't link to any others, and update itself accordingly.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 31:
=over without closing =back
- Around line 50:
=over without closing =back