c.db and g.app.db databases persist until you remove ~/.leo/db directory.
When you restart leo, or reboot computer, the data will be there (like you
had sql database).

On Sun, Jun 9, 2013 at 10:55 PM, Fidel Pérez <[email protected]> wrote:

> Thanks Ville.
> Yes, I will also look into pickleshare since it doesnt require additional
> installations (unlike MySQL) and I would like my scripts to be easy to
> share.
> Are the c.db databases stable or just per session? (IE when I restart Leo,
> will they still be there?)
>
>
> On Sunday, June 9, 2013 9:30:47 PM UTC+2, Ville M. Vainio wrote:
>
>> I know you are looking into mysql now, but yes, pickleshare would be
>> suitable for this purpose.
>>
>> There is a small example of using it here:
>>
>> https://pypi.python.org/pypi/**pickleshare<https://pypi.python.org/pypi/pickleshare>
>>
>> In leo, you can access global database as g.app.db, and per-document
>> database at c.db.
>>
>> On Sun, Jun 9, 2013 at 2:34 AM, Fidel Pérez <[email protected]> wrote:
>>
>>> Hi, I have been reading in previous posts about Leo abbility to use
>>> Pickleshare.
>>> Could that be used to store "global" variables within a Leo outline, so
>>> when I press one button, it can access given DB, and when I press a new
>>> one, it will be able to also access that db and act upon the current data
>>> it will find there?
>>> If so, is there any refference guide about this feature?
>>> Very much appreciated.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "leo-editor" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to leo-editor+...@**googlegroups.com.
>>> To post to this group, send email to [email protected].
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/leo-editor?hl=en-US<http://groups.google.com/group/leo-editor?hl=en-US>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/leo-editor?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to