Thank you Very much,,,

Its working now!

2009/5/19 Павел Долженко <[email protected]>

>  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: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
>
>
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>
>
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to