Jean-Louis Leroy > Tangram-2.04 > Tangram::mysql

Download:
Tangram-2.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
Stalled  5
View/Report Bugs
Source   Latest Release: Tangram-2.07

NAME ^

Tangram::mysql - Orthogonal Object Persistence in Mysql databases

SYNOPSIS ^

   use Tangram;
   use Tangram::mysql;

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

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

   $storage->disconnect();

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

DESCRIPTION ^

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.

syntax highlighting: