Titanium JIRA Archive
Alloy (ALOY)

[ALOY-446] sql adapter should open/close DB between operations

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2013-01-17T20:05:25.000+0000
Affected Version/sn/a
Fix Version/sAlloy 0.3.5, 2013 Sprint 02
ComponentsRuntime
Labelsnotable
ReporterTony Lukasavage
AssigneeUnknown
Created2012-12-25T22:04:13.000+0000
Updated2018-03-07T22:25:52.000+0000

Description

The sql adapter should open/close the database connection for its operations rather than leaving it open. This should reduce memory consumption and help maintain data integrity. This is also noted as a best practice in our documentation: http://docs.appcelerator.com/titanium/latest/#!/guide/Working_with_a_SQLite_Database-section-29004901_WorkingwithaSQLiteDatabase-Creatingadatabase

Comments

No comments

JSON Source