Nils Diewald > DBIx-Oro-0.28_3 > DBIx::Oro::Driver::MySQL

Download:
DBIx-Oro-0.28_3.tar.gz

Dependencies

Annotate this POD

Source   Latest Release: DBIx-Oro-0.30_4

NAME ^

DBIx::Oro::Driver::MySQL - MySQL driver for DBIx::Oro

SYNOPSIS ^

  use DBIx::Oro;

  # Create
  my $oro = DBIx::Oro->new(
    driver   => 'MySQL',
    database => 'TestDB',
    user     => 'root',
    password => 's3cr3t'
  );

  $oro->insert(Person => {
    id   => 4,
    name => 'Peter',
    age  => 24
  });

DESCRIPTION ^

DBIx::Oro::Driver::MySQL is a MySQL specific database driver for DBIx::Oro that provides further functionalities.

DBIx::Oro::Driver::SQLite is a development release! Do not rely on any API methods, especially on those marked as experimental.

METHODS ^

DBIx::Oro::Driver::SQLite inherits all methods from DBIx::Oro and implements the following new ones (with possibly overwriting inherited methods).

new

  my $oro = DBIx::Oro->new(
    driver   => 'MySQL',
    database => 'TestDB',
    user     => 'root',
    password => 's3cr3t'
  );

Creates a new SQLite database accessor object with user and password information.

SEE ALSO ^

The MySQL reference.

DEPENDENCIES ^

Carp, DBI, DBD::MySQL.

AVAILABILITY ^

  https://github.com/Akron/DBIx-Oro

COPYRIGHT AND LICENSE ^

Copyright (C) 2012-2013, Nils Diewald.

This program is free software, you can redistribute it and/or modify it under the same terms as Perl.

syntax highlighting: