SQLite, keep connection open or close every time?

Bob Sneidar bobsneidar at iotecdigital.com
Tue Nov 24 10:48:50 EST 2015


IMHO always best to close after you are done. What if your computer crashes? What if the network goes down? Closing the connection ensures everything is tidied up. 

Bob S


> On Nov 24, 2015, at 07:25 , Klaus major-k <klaus at major-k.de> wrote:
> 
> Hi friends,
> 
> see subject, any PROs or CONs to keep a db connection to a local SQLite database
> (deskton and mobile) open during a session or better close and reopen every time
> you access the db?
> 
> Any opinions and hints appreciated!
> Thanks in advance!
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list