Data in memory without TVirtualTable?

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
wjjw73
Posts: 22
Joined: Fri 17 Aug 2012 09:51

Data in memory without TVirtualTable?

Post by wjjw73 » Sat 05 Dec 2015 09:18

Hello!

Currently I have a project where I want to handle data in memory (read-only).
I use as main DB SQLite and I want to get data from TUniTable and TUniQuery without access always from the disk. Is there a way to do that -> without TVirtualTable?
Or is TVirtualTable the right way to do it.
Mainly I want to read the data one on startup - after that only making queries and access table data in memory.
Right now I make the queries and table data and store it in records in memory -> but then when I want to filter something I have to go to the list of records -> because cannot use SQL anymore..

Br,
Werner

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Data in memory without TVirtualTable?

Post by AlexP » Mon 07 Dec 2015 12:08

Hello,

VirtualTable has no support for query execution. However, you can use the filter property for data filtering.
You can also create an additional in-memory SQLite database: UniConnection.Database := ':memory:' and work with it as with a regular database.

Post Reply