Mike Bissett > DBIx-Changeset-1.11 > DBIx::Changeset::Collection

Download:
DBIx-Changeset-1.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.11   Source  

NAME ^

DBIx::Changeset::Collection - Factory Interface to objects to load changesets into the database

SYNOPSIS ^

Factory Interface to objects to load changesets into the database

Perhaps a little code snippet.

    use DBIx::Changeset::Loader;

    my $foo = DBIx::Changeset::Loader->new('type', $opts);
    ...
         $foo->apply_changeset();

INTERFACE ^

start_transaction This is the start_transaction interface to implement in your own class

commit_transaction This is the commit_transaction interface to implement in your own class

rollback_transaction This is the rollback_transaction interface to implement in your own class

apply_changeset This is the apply_changeset interface to implement in your own class

TYPES Default types included ^

mysql use mysql to load changeset records into the db

pg use psql to load changeset records into the db

ACCESSORS ^

db_pass database password args: string returns: string

db_name the database name args: string returns: string

db_user the database user args: string returns: string

db_host the database host args: string returns: string

init Called automatically to intialise the factory objects takes params passed to new and assigns them to accessors if they exist

COPYRIGHT & LICENSE ^

Copyright 2004-2008 Grox Pty Ltd.

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

The full text of the license can be found in the LICENSE file included with this module.

syntax highlighting: