Query: dbix::dbschema::colgroup
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DBSchema::ColGroup(3pm) User Contributed Perl Documentation DBSchema::ColGroup(3pm)NAMEDBIx::DBSchema::ColGroup - Column group objectsSYNOPSISuse 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;DESCRIPTIONThis class is deprecated and included for backwards-compatibility only. See DBIx::DBSchema::Index for the current class used to store unique and non-unique indices. DBIx::DBSchema::ColGroup objects represent sets of sets of columns. (IOW a "list of lists" - see perllol.)METHODSnew [ 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(" ", $colgroup->sql_list), " "; Will print: single_column multiple_columns, another_column singles Returns a flat list of all single item lists.AUTHORIvan Kohler <ivan-dbix-dbschema@420.am>COPYRIGHTCopyright (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.BUGSSEE ALSODBIx::DBSchema::Index, DBIx::DBSchema::Table, DBIx::DBSchema::ColGroup::Unique, DBIx::DBSchema::ColGroup::Index, DBIx::DBSchema, perllol, perldsc, DBI perl v5.14.2 2007-06-27 DBSchema::ColGroup(3pm)
Similar Topics in the Unix Linux Community |
---|
partition problems! |
Separating commands/programs with ; |
select a column |
SmartCruddy! 1.08 (Default branch) |
Renaming files with sed |