
naylorgarcia at gmail
May 19, 2009, 1:51 PM
Post #3 of 6
(818 views)
Permalink
|
Thank you Very much,,, Its working now! 2009/5/19 Павел Долженко <pawad [at] yandex> > my $change_color = [.$c->model('database::dominio')->search( > { id_domain => 21240, name => { like => 'naylor garcia' } }, > {columns => ['color']} > )->first->color]; > > HI, > > I need to make a select in database of the a specific column, but the > result is a array. How I do to get a specific column? > > my $change_color = [.$c->model('database::dominio')->search( > { id_domain => 21240, name => { like => 'naylor garcia' } } > )]; > > Thank you ;) > > Naylor Garcia > > ------------------------------ > > _______________________________________________ > List: Catalyst [at] lists > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/catalyst [at] lists/ > Dev site: http://dev.catalyst.perl.org/ > > > > _______________________________________________ > List: Catalyst [at] lists > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst [at] lists/ > Dev site: http://dev.catalyst.perl.org/ > >
|