Page 1 of 1

.AddWhere()

Posted: Wed 07 Nov 2018 19:53
by Atys
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.

Re: .AddWhere()

Posted: Fri 09 Nov 2018 12:58
by azyk
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.