SQL Thoughts

This commit is contained in:
Max Lynch
2015-09-14 14:38:37 -05:00
parent 26394ebfa2
commit bda0a981e7

View File

@@ -4,6 +4,13 @@ import * as util from 'ionic/util';
const DB_NAME = '__ionicstorage';
/**
* SqlStorage uses SQLite or WebSQL (development only!) to store data in a
* persistent SQL store on the filesystem.
*
* This is the preferred storage engine, as data will be stored in appropriate
* app storage, unlike Local Storage which is treated differently by the OS.
*/
export class SqlStorage extends StorageEngine {
static BACKUP_LOCAL = 2
static BACKUP_LIBRARY = 1