[Gambas-user] how to override Exec if already inherist from colection (conection pool emulation)
Christof Thalhofer
chrisml at deganius.de
Fri Jul 6 13:35:02 CEST 2018
Am 05.07.2018 um 15:44 schrieb Christof Thalhofer:
> Then you do not need to dim any connection and you can do sth simple like
>
> Dbs.Conex1.Exec(sQuery)
>
> Dbs.Conex2.Exec(sQuery)
Sorry, I saw an error in the class file.
In Function Connex2_Read()
$Connex1 = Factory(...
should be
$Connex2 = Factory(...
I did not test the methods, is is an example to show the idea.
Alles Gute
Christof Thalhofer
--
[x] nail here for new monitor
More information about the User
mailing list