NAME

Peace::DAO::Build - Database access object of Peace::Model::Build.

SYNOPSIS

my $build_dao = Peace::DAO::Build->new(
    dbh => $dbh,
);

my $build = $build_dao->recover_by_uuid(
    uuid => $uuid,
);

$build_dao->create( build => $build, );

DESCRIPTION

Peace::DAO::Build allows you to retrieve and create the representation of Peace::Model::Build in the database table builds.

INSTANCE METHODS

Peace::DAO::Build implements the following instance methods:

new

my $build_dao = Peace::DAO::Build->new(
    dbh => $dbh
);

Instances a Peace::DAO::Build object.

METHODS

Peace::DAO::Build implements the following methods:

recover_by_uuid

my $build = $build_dao->recover_by_uuid( uuid => $uuid );

Recovers a Peace::Model::Build from its uuid.

create

$build_dao->create( build => $build );

Creates the database representation of a Peace::Model::Build.

SEE ALSO

Peace::Model::Build, DBI