Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    DBIx::Class::Schema::Loader 0.07031

    Download button

    No screenshots available
    Downloads: 301  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Dagfinn Ilmari Mannsåker | More programs
    Perl Artistic License / FREE
    September 9th, 2012, 04:04 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    DBIx::Class::Schema::Loader description

    Dynamic definition of a DBIx::Class::Schema

    DBIx::Class::Schema::Loader is a Perl module that automates the definition of a DBIx::Class::Schema by scanning database table definitions and setting up the columns, primary keys, and relationships.

    DBIx::Class::Schema::Loader currently supports only the DBI storage type. It has explicit support for DBD::Pg, DBD::mysql, DBD::DB2, DBD::SQLite, and DBD::Oracle. Other DBI drivers may function to a greater or lesser degree with this loader, depending on how much of the DBI spec they implement, and how standard their implementation is.

    Patches to make other DBDs work correctly welcome.

    See DBIx::Class::Schema::Loader::DBI::Writing for notes on writing your own vendor-specific subclass for an unsupported DBD driver.

    This module requires DBIx::Class 0.07006 or later, and obsoletes the older DBIx::Class::Loader.

    This module is designed more to get you up and running quickly against an existing database, or to be effective for simple situations, rather than to be what you use in the long term for a complex database/project.

    That being said, transitioning your code from a Schema generated by this module to one that doesn't use this module should be straightforward and painless, so don't shy away from it just for fears of the transition down the road.

    SYNOPSIS

     package My::Schema;
     use base qw/DBIx::Class::Schema::Loader/;

     __PACKAGE__->loader_options(
     constraint => '^foo.*',
     # debug => 1,
     );

     # in seperate application code ...

     use My::Schema;

     my $schema1 = My::Schema->connect( $dsn, $user, $password, $attrs);
     # -or-
     my $schema1 = "My::Schema"; $schema1->connection(as above);



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    dynamic definition | Perl module | module | dynamic | definition

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM