Hi Everybody and Bob,
I have take a look on ActiveRecords framework. Top-level job, Bob.
I cannot find what is difference between REALSQLDatabase vs SQLiteDatabase?
I guess one of them is older and may be even deprecated?
They are both enabled on default, but they have small difference in code ββ¦ > 2013β
Which one should be used by Xojo 2015 user?
I am going try to add VSqliteDatabaseAdapter to work with our Valentina Sqlite Server.
- Since we have 100% compatibility with native SQLite of Xojo, I guess this should be as easy as duplicate and rename Adaptor for native local SQLite of Xojo.
- OR may be there is no need to make such duplicate and just test it with your native SQLite class?
[quote=207726:@Ruslan Zasukhin]I cannot find what is difference between REALSQLDatabase vs SQLiteDatabase?
I guess one of them is older and may be even deprecated?
They are both enabled on default, but they have small difference in code ββ¦ > 2013β
Which one should be used by Xojo 2015 user?[/quote]
SQLiteDatabase
It looks we need add special Adaptor, because it needs provide host/login info.
Another question comes to mind.
Bob, with Valentina via our single plugin V4RB, we can get access to both
- local Sqlite engine copy, stored in our DLL, not in Xojo IDE.
- remote Valentina Sqlite Server
I think most easy/correct way to use 2 different providers then, right?
REALSQLDatabase is the old Real Studio SQLite implementation and SQLiteDatabase is the newer version. I forget where the transition came it but a lot of people were still using the older version when we first created the ARGen utility.
Yes, having two different providers is probably the best way. Donβt forget to include a constant so users that donβt have the Valentina plugin can work with ActiveRecord.
If you want me to include it in the next release of ActiveRecord/ARGen please send me the files. I think we will do a new release towards the end of the year.
Sure, send me your modifications and Iβll add it in (in my copious amounts of free time).