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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -