Page 1 of 1

UniDAC and FetchAll

Posted: Mon 13 Jul 2009 14:09
by jlund
Hi
I am migrating from MyDAC, and i miss the FetchAll property of TUniQuery, that I used heavily i MyDAC.

How do I convert ?

FurtherMore, TMyCommand isn't converted using the migration wizard.
Any idea why ?

TIA Jens Lund

Posted: Tue 14 Jul 2009 06:16
by tobias_cd
For FetchAll you might look for "SpecificOptions" in the help.
Examples:
// only for Oracle:
TUniQuery.SpecificOptions.Add('Oracle.FetchAll=False');
// independent of DBMS:
TUniQuery.SpecificOptions.Add('FetchAll=False');