[Gambas-user] how to override Exec if already inherist from colection (conection pool emulation)

PICCORO McKAY Lenz mckaygerhard at gmail.com
Wed Jul 4 14:33:00 CEST 2018


2018-07-03 18:08 GMT-04:00 Jussi Lahtinen <jussi.lahtinen at gmail.com>:

> Create new class that inherits connection. Do the overriding there and use
> the new class instead of the connection class.
>
GRRRRR dgod damn ok ok but then i need to do two inherits in cascade!!!
conection->connection2-> and then collection->myclass and in my clkass
using the new connection.. seems too many classes  9.9u

there-s some way to avoid that?



>
>
> Jussi
>
> On Wed, Jul 4, 2018 at 12:59 AM, PICCORO McKAY Lenz <
> mckaygerhard at gmail.com> wrote:
>
>> i already made my db pool emulation in rudimentary efforts..
>>
>> my class already inherits from collection, but now i wnats to overrides
>> the exec method of each stored connection, how to made it
>>
>> i attach the project
>>
>>
>>
>> Lenz McKAY Gerardo (PICCORO)
>> http://qgqlochekone.blogspot.com
>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>>
>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180704/ad27ea58/attachment.html>


More information about the User mailing list