Locate() operation on active dataset

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ertank
Posts: 172
Joined: Wed 13 Jan 2016 16:00

Locate() operation on active dataset

Post by ertank » Tue 24 Jul 2018 16:17

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

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: Locate() operation on active dataset

Post by azyk » Wed 25 Jul 2018 07:06

When TUniQuery.FetchAll=True call the TUniQuery.Locate will search only TUniQuery local data. No data sent/received with the server.

Post Reply