The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBIx::EAV::Table - Abstracts common operations on a database table.

SYNOPSIS

    my $table = DBIx::EAV::Table->new(
        dbh     => $dbh,
        name    => 'eav_entities',
        columns => [qw/ id entity_type_id ... /],
        tenant_id => ... # optional
    )

DESCRIPTION

This class provides a simple abstraction for the most common operations on a database table. You probably will never need to use this class (or objects) directly.

TENANT ID

METHODS

new

name

tenant_id

columns

has_column

select

select_one

insert

update

delete

LICENSE

Copyright (C) Carlos Fernando Avila Gratz.

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

AUTHOR

Carlos Fernando Avila Gratz <cafe@kreato.com.br>