[Dbix-class] single field in resultset?

Marc Mims marc at questright.com
Thu Dec 6 19:24:18 GMT 2007


* Michael Higgins <linux at evolone.org> [071206 11:20]:
> Can anyone tell me how to grab a result set that is a list of only one
> column? I see how to do %where, but not [what]..??

See:
http://search.cpan.org/~ash/DBIx-Class-0.08008/lib/DBIx/Class/ResultSetColumn.pm

my @values = $rs->get_column('whatever')->all;

	-Marc



More information about the DBIx-Class mailing list