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::Result::ColumnData 0.15

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Nicolas Oudard | More programs
    GPL / FREE
    April 25th, 2012, 12:03 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    DBIx::Class::Result::ColumnData description

    Result::ColumnData component for DBIx::Class

    DBIx::Class::Result::ColumnData is a Perl module used to extract column data only from a data object base on DBIx::Class::Core.

    It defined relationships methods to extract columns data only of relationships.

    SYNOPSIS

    in your DBIx::Class::Core base class declare Result::ColumnData component

     Package::Schema::Result::MyClass;

     use strict;
     use warning;


     __PACKAGE__->load_component(qw/ ... Result::DataColumn /);

     #Declare here associations before register_relationships_column_data
     __PACKAGE__->belongs_to(...);
     __PACKAGE__->has_many(...);

     __PACKAGE__->register_relationships_column_data();


    you will use get_column_data functions on instance of MyClass

     $my_class->get_column_data
     $my_class->I< relationships >_column_data


    you can also hide some columns with parameter hide_field on columns definition

     __PACKAGE__->add_columns("field_to_hide", {.... hide_field => 1});


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    column data | Perl module | column | data | extractor

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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