Lines Matching refs:cols
12 my @cols = $colg->group_cols($group);
112 my @cols = map $self->add_column($_), @names;
113 $_->add_group($group) foreach @cols;
114 $self->{_groups}->{$group} = \@cols;
120 my @colg = $cols->group_cols($group);
121 my @groups = $cols->groups_for(@cols);
135 my ($self, @cols) = @_;
136 return _uniq(map $_->groups, @cols);
141 my @cols = $colg->columns_in(@groups);
178 my @cols = shift->group_cols('Primary');
179 if (!wantarray && @cols > 1) {
182 "Multiple columns in Primary group (@cols) but primary called in scalar context"
184 return $cols[0];
186 return @cols;
191 my @cols = $self->columns_in('Essential');
192 @cols = $self->primary unless @cols;
193 return @cols;