---
name: "Wiki::Toolkit::Store::SQLite"
section: "3pm"
platform: "linux"
package: "libwiki-toolkit-perl"
version: "0.86-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Wiki::Toolkit::Store::SQLite"
---

# Wiki::Toolkit::Store::SQLite(3pm)

SQLite storage backend for Wiki::Toolkit

## 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 the version of the updated node on successful writing, 0 if checksum doesn't match, -1 if the change was not applied, croaks on error.
