Tangram::Driver::mysql(3pm)

Tangram::Driver::mysql3pm

Orthogonal object persistence in mysql databases

Usage

   use Tangram;
   use Tangram::Driver::mysql;
   $schema = Tangram::Driver::mysql->schema( $hashref );
   Tangram::Driver::mysql->deploy($schema, $dbh);
      
   $storage = Tangram::Driver::mysql->connect( $schema,
      $data_source, $username, $password );
   $storage->disconnect();
   Tangram::Driver::mysql->retreat($schema, $dbh);

Overview

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

This backend makes use of Mysql extensions SELECT GET_LOCK, SELECT RELEASE_LOCK and LAST_INSERT_ID to safely allocate object ids in the absence of transactions.

The vanilla Relational backend may not be used with Mysql databases in multiprogramming context.

Methods

This backend does not add any methods; for a description of available methods, see Tangram::Relational.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0–7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12–13

From libtangram-perl 2.12-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.