efficient cursor

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
comvision
Posts: 5
Joined: Sun 16 Mar 2008 22:48

efficient cursor

Post by comvision » Sun 16 Mar 2008 22:52

I'm new to MyDAC and db development in general. What's the best approach to use if I want to execute a query that returns a unidirectional dataset. All I want to do is collect data from the database that I then iterate once and store the data in memory (I'm using my own in-memory structures so the virtual table is not applicable for my needs).

comvision
Posts: 5
Joined: Sun 16 Mar 2008 22:48

Post by comvision » Sun 16 Mar 2008 22:58

Sorry, I think I found the answer. TMyQuery and its 'UniDirectional' property.

Post Reply