SQLite, keep connection open or close every time?
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.
> 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!
> Klaus Major
> 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:
More information about the use-livecode