SYNOPSIS

   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);

DESCRIPTION

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

This backend makes use of Mysql extensions \s-1SELECT\s0 \s-1GET_LOCK\s0, \s-1SELECT\s0 \s-1RELEASE_LOCK\s0 and \s-1LAST_INSERT_ID\s0 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.