locate methods for cursor

Ivan Smahin ivan_smahin at valentina-db.com
Wed Jun 21 14:39:10 CDT 2006


Hello Ruslan,

Wednesday, June 21, 2006, 2:14:42 PM, you wrote:

>> In such a case I always had to make a repeat loop to step through the cursor
>> and find a specific record with this value...no need to talk about the
>> negatives in here.
>> 
>> Why not build it as a feature?
>> 
>> jumpToValueInCursor(cursor,fieldname,value)
>> 
>> I would love that

> This is not usual, and in best case we can implement this as the same loop..

> Well on C++ level ....

> Well for server-side cursor it can be really win -- because do loop on
> server.

> Ivan, what you think?
> Florian, please add this request to Mantis.

Actually, Mantis is the best place to discuss it.
How it should be solved in case of not-unique value in the field?

Probably it would be better to use FindValue() call
and work with Set of records?

-- 
Best regards,
 Ivan                            mailto:ivan_smahin ÎÁ valentina-db.com



More information about the Valentina mailing list