sencha touch - Using sqlite database in SenchaTouch2 -
how use sqlite database in senchatouch2..in model used lik,
proxy: { type : "sql", database : "contactsdb" }
getting error..plz provide sample code
that's have. put inside config of model.
config: { identifier: { type: 'uuid' }, fields: [ {name: 'username', type: 'string'}, {name: 'password', type: 'string' }, ], proxy: { type: "sql", database: "fullcontact", } },
remeber include reference:
requires:['ext.data.identifier.uuid','ext.data.proxy.sql',],
Comments
Post a Comment