logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Tangram::Driver::SQLite - Orthogonal Object Persistence in SQLite databases

Description

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

Errata

       For reasons similar to the Tangram::Driver::Pg module, this back-end automatically encodes
       Tangram::Type::Dump::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.

perl v5.36.0                                       2022-10-16                       Tangram::Driver::SQLite(3pm)

Name

       Tangram::Driver::SQLite - Orthogonal Object Persistence in SQLite databases

Synopsis

          use Tangram;
          use Tangram::Driver::SQLite;

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

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

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

          $storage->disconnect();

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

See Also