Page 1 of 1

Locate() operation on active dataset

Posted: Tue 24 Jul 2018 16:17
by ertank
Hello,

I cannot be sure and would like to ask in here.

In a situation where there is an open TUniQuery.TDataSet which has FetchAll set to true and if I use;

Code: Select all

 TUniQuery.Locate('primarykeyfieldname', searchvalue, []);
Does such a use make this search all local and no information exchange (no data sent/received) with the server?

My database server is PostgreSQL 10.4 if that makes any difference,

Thanks & regards,
Ertan

Re: Locate() operation on active dataset

Posted: Wed 25 Jul 2018 07:06
by azyk
When TUniQuery.FetchAll=True call the TUniQuery.Locate will search only TUniQuery local data. No data sent/received with the server.