Hi,
I need to check a list of values if they exist in a database. The
value is a unique key of that table. A stupid 'find' works of course,
but returns the whole row data, where I only need a simple binary
yes/no information if a row was found or not.

I am thinking of setting up a special resultset which contains only
the key as a returned value by SELECT, but I am wondering if there is
a faster method.

TIA,
Ekki

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to