On Apr 13, 9:44 am, vihang <[email protected]> wrote:
> There maybe something wrong in my understanding, in which case please
> correct me, but db objects created using sqlite:memory: are not
> persistant. i.e. insert does not work? Is this is a bug ? If not,
> could someone tell me what it is suppose to do?
They are not persistent and this is not a bug. Having a persistant
sqlite in memory opens a huge can of worms. Each app should have its
own sqlite:memory and in order to do migrations there should be a way
to reference them. Migrations would break if the server is restarted,
etc. All of these issues can be solved but every user if going to
expect a different behavior.
I am considering creating a function that gives you a ram cached
sqlite in memory without migration support.
Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---