FWH: MySql/MariaDB: RowSet object

Taavi
Posts: 90
Joined: Mon Nov 21, 2005 10:29 am

Re: FWH: MySql/MariaDB: RowSet object

Post by Taavi »

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.
User avatar
nageswaragunupudi
Posts: 10691
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: FWH: MySql/MariaDB: RowSet object

Post by nageswaragunupudi »

Code: Select all | Expand

oRowSet:FCount()
is available and works exactly like TDatabase FCount()

We tried to make RowSet methods compatible with TDataBase and ADO RecordSet.

Please let us know if you want more, we will provide you natively with RowSet object.
Regards

G. N. Rao.
Hyderabad, India
Taavi
Posts: 90
Joined: Mon Nov 21, 2005 10:29 am

Re: FWH: MySql/MariaDB: RowSet object

Post by Taavi »

Hello,
so rewriting tdatabase() class to use to use rowset should work?

Maybe someone have done it already? Seems like logical path for me from dbf to Mariadb for those using tdatabase()...

Rowset object would be helpful, I need an class which has all methods of tdatabase() to replace database object in our classes. This way I could bypass creating my own class for that.

Taavi.
Taavi
Posts: 90
Joined: Mon Nov 21, 2005 10:29 am

Re: FWH: MySql/MariaDB: RowSet object

Post by Taavi »

Hello,
can I have Rowset object, please?

Taavi
Post Reply