>
> Yes, but what if you want to test the values of those other fields, and
> conditionally *not* find it?  This is important functionality,
> therefore, this is a mis-classified bug.
>

Ok, this is really something that doesn't work right out of the box, but
there are two solutions:

1.) Unset !PrimKey
2.) use an operator of ' = ' (with space around the equal sign, than
DBIx::Recordset will not recognize it as equal and will not do any
optimazations)

e.g.

*i=DBIx::Recordset->Setup({
 '!DataSource'=>'dbi:mysql:mydb',
'!Table'=>'mytable',
 '!PrimKey'=>'a'
 });
$i->Search({a=>'c', '*a' => ' = ', b=>'d'});


> I think a better option would be to pass a hash which only contains what
> you want to check.
>

The interface is intended to catch most of the cases. I know it will not
catch all. The idea is that you can simply pass the whole %fdat to Search,
without having to sort out all relevant fields.

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to