man Tangram::SQLite () - Orthogonal Object Persistence in SQLite databases

NAME

Tangram::SQLite - Orthogonal Object Persistence in SQLite databases

SYNOPSIS

   use Tangram;
   use Tangram::SQLite;

   $schema = Tangram::SQLite->schema( $hashref );

   Tangram::SQLite->deploy($schema, $dbh);

   $storage = Tangram::SQLite->connect( $schema,
      $data_source, $username, $password );

   $storage->disconnect();

   Tangram::SQLite->retreat($schema, $dbh);

DESCRIPTION

This is the entry point in the SQLite-specific object-relational persistence backend.

ERRATA

For reasons similar to the Tangram::Pg module, this back-end automatically encodes Tangram::Storable objects via MIME::Base64 to avoid truncation of values on NUL bytes.

Also, note that despite what is mentioned on the front page of www.sqlite.org, SQLite is not actually an ACID database; any writer to the database has to wait for all other writers to finish before they can begin their transaction.

So make sure you start and complete your transactions as quickly as possible with this back-end.