[ALOY-446] sql adapter should open/close DB between operations
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2013-01-17T20:05:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 0.3.5, 2013 Sprint 02 |
Components | Runtime |
Labels | notable |
Reporter | Tony Lukasavage |
Assignee | Unknown |
Created | 2012-12-25T22:04:13.000+0000 |
Updated | 2018-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
No comments