Re: FWH: MySql/MariaDB: RowSet object
Posted: Tue Oct 01, 2024 5:31 pm
Hello,
have somebody tryed to rewrite tdatabase() class to use RowSet object instead of dbf file?
For sample
METHOD FCount() INLINE ( ::oRc:FCount() ) //where ::oRc is rowset object created for this object
instead of
METHOD FCount() INLINE ( ::nArea )->( FCount() )
Could this approach work?
And am I correct it is not possible to inherit from Mariadb connection RowSet class?
Our database classes inherit from tdatabase() and would be easy first step to replace tdatabase() functionality without changing higher level code...
Taavi.
have somebody tryed to rewrite tdatabase() class to use RowSet object instead of dbf file?
For sample
METHOD FCount() INLINE ( ::oRc:FCount() ) //where ::oRc is rowset object created for this object
instead of
METHOD FCount() INLINE ( ::nArea )->( FCount() )
Could this approach work?
And am I correct it is not possible to inherit from Mariadb connection RowSet class?
Our database classes inherit from tdatabase() and would be easy first step to replace tdatabase() functionality without changing higher level code...
Taavi.