Filewatcher File Search File Search
Catalog
Content Search
» » » » » » perl-DBIx-DBSchema-0.15-10.i386.rpm » Content »
pkg://perl-DBIx-DBSchema-0.15-10.i386.rpm:39414/usr/share/man/man3/  info  HEADER  downloads

perl-DBIx-DBSchema - DBIx-DBSchema module for perl (./DBIx)…  more info»

DBIx::DBSchema::ColGroup.3pm.gz

DBSchema::ColGrouUser Contributed Perl DocumentDBSchema::ColGroup(3)



NAME
       DBIx::DBSchema::ColGroup - Column group objects

SYNOPSIS
         use DBIx::DBSchema::ColGroup;

         $colgroup = new DBIx::DBSchema::ColGroup ( $lol_ref );
         $colgroup = new DBIx::DBSchema::ColGroup ( \@lol );
         $colgroup = new DBIx::DBSchema::ColGroup (
           [
             [ 'single_column' ],
             [ 'multiple_columns', 'another_column', ],
           ]
         );

         $lol_ref = $colgroup->lol_ref;

         @sql_lists = $colgroup->sql_list;

         @singles = $colgroup->singles;


DESCRIPTION
       DBIx::DBSchema::ColGroup objects represent sets of sets of
       columns.  (IOW a "list of lists" - see the perllol manpage.)

METHODS
       new [ LOL_REF ]
           Creates a new DBIx::DBSchema::ColGroup object.  Pass a
           reference to a list of lists of column names.

       lol_ref
           Returns a reference to a list of lists of column names.

       sql_list
           Returns a flat list of comma-separated values, for SQL
           statements.

           For example:

             @lol = (
                      [ 'single_column' ],
                      [ 'multiple_columns', 'another_column', ],
                    );

             $colgroup = new DBIx::DBSchema::ColGroup ( \@lol );

             print join("\n", $colgroup->sql_list), "\n";

           Will print:

             single_column
             multiple_columns, another_column


       singles
           Returns a flat list of all single item lists.

AUTHOR
       Ivan Kohler <ivan-dbix-dbschema@420.am>

COPYRIGHT
       Copyright (c) 2000 Ivan Kohler Copyright (c) 2000 Mail Abuse
       Prevention System LLC All rights reserved.  This program is
       free software; you can redistribute it and/or modify it under
       the same terms as Perl itself.

BUGS
SEE ALSO
       the DBIx::DBSchema::Table manpage, the DBIx::DBSchema::Col‐
       Group::Unique manpage, the DBIx::DBSchema::ColGroup::Index
       manpage, the DBIx::DBSchema manpage, the perllol manpage, the
       perldsc manpage, the DBI manpage



3rd Berkeley Distribution    perl v5.6.0       DBSchema::ColGroup(3)
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com