TUniQuery - Prepare and IsQuery on PostgreSQL
Hello.
Does Prepare and IsQuery methods (of Query) work on PostgreSQL database?
I'm using Unidac 9.3.0 on Delphi 11.1 Alexandria.
Simple code like the one I've posted, works on Firebird, Oracle, MSSql server, but not working in PostgreSQL (PG version 11 or 15 - it's the same result).
- lQUni := TUniQuery.Create(nil);
try
lQUni.Connection := DBWork;
lQUni.SQL.AddStrings('SELECT * FROM aaa');
lQUni.Prepare;
IsSQLSelect := lQUni.IsQuery;
.......
On PostgreSQL (in debuger) after LQUni.Prepare: lQUni.IsQuery = false, and LQUni.Prepared = false
On Firebird (in debuger) after LQUni.Prepare: lQUni.IsQuery = true, and LQUni.Prepared = true
On Oracle (in debuger) after LQUni.Prepare: lQUni.IsQuery = true, and LQUni.Prepared = true
On MSSQL Server (in debuger) after LQUni.Prepare: lQUni.IsQuery = true, and LQUni.Prepared = true
Thanks.