Christopher H. Laco > Mango-0.01000_13 > Mango::Schema::UserRole

Download:
Mango-0.01000_13.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Mango::Schema::UserRole - DBIC schema class for users role membership

SYNOPSIS ^

    use Mango::Schema;
    my $schema = Mango::Schema->connect;
    my $user_roles = $schema->resultset('UsersRoles')->search;

DESCRIPTION ^

Mango::Schema::UsersRole is loaded by Mango::Schema to read/write user/role membership data.

COLUMNS ^

user_id

Contains the user id for each role record.

    user_id => {
        data_type      => 'INT',
        is_nullable    => 0,
        is_foreign_key => 1,
        extras         => {unsigned => 1}
    },

role_id

Contains the role id for each role record.

    role_id => {
        data_type      => 'INT',
        is_nullable    => 0,
        is_foreign_key => 1,
        extras         => {unsigned => 1}
    }

AUTHOR ^

    Christopher H. Laco
    CPAN ID: CLACO
    claco@chrislaco.com
    http://today.icantfocus.com/blog/
syntax highlighting: