[Gambas-user] can stored a OPENED connection object in a colletion?
Jussi Lahtinen
jussi.lahtinen at gmail.com
Wed Jun 27 22:50:37 CEST 2018
Your English makes no sense. If you destroy object, you do nothing with the
reference. So, they must have same scope.
Jussi
On Wed, Jun 27, 2018 at 4:11 PM, PICCORO McKAY Lenz <mckaygerhard at gmail.com>
wrote:
> so if i made a collection of my 3 of 4 connections objects those can be
> opened globally!
>
> how can i emulated a stored object connection that must be opened always
> before running the query?
>
> of course without inherits, due if all my objects inherits from one that
> already have opened i can use it!
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2018-06-26 18:49 GMT-04:00 Jussi Lahtinen <jussi.lahtinen at gmail.com>:
>
>> Collections have only reference to objects, they do not contain objects.
>>
>>
>> Jussi
>>
>> On Wed, Jun 27, 2018 at 12:18 AM, PICCORO McKAY Lenz <
>> mckaygerhard at gmail.com> wrote:
>>
>>>
>>> i can setup and store the connection object once opened in a collection
>>> of connection objects?
>>>
>>> i want to use a pool from configuration file!
>>>
>>> so can stored a OPENED connection object in a colletion? (urrently seems
>>> when i used me.add the conectuion object happened closed)
>>>
>>> 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 ]----
>>
>>
>
>
> ----[ 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/20180627/cf0f0cba/attachment.html>
More information about the User
mailing list