.AddWhere()

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Atys
Posts: 16
Joined: Sun 15 Nov 2015 20:26

.AddWhere()

Post by Atys » Wed 07 Nov 2018 19:53

Hi,

It would be nice to make a function from this procedure and return false if it wasn't able to do the task.
Or raising an exception.

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

Re: .AddWhere()

Post by azyk » Fri 09 Nov 2018 12:58

Please specify in more detail what you mean. For example, if you want to check the syntax of the final SQL query, then you can call the TUniQuery.Prepare method. If this SQL query won't correspond to the syntax, UniDAC will return an error from the server.

Post Reply