Clearing the app's data #13153
Unanswered
beppo-ivel
asked this question in
Q&A
Replies: 1 comment 3 replies
-
When I try to run your example code it just stops with
Which version of Alloy are you using? The "REPLACE" part is here: https://github.com/appcelerator/alloy/blob/28a239aa7fb1fdef2ac67e50d35780f5c9dd766d/Alloy/lib/alloy/sync/sql.js#L189 so it looks like it runs an |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Each time if I build and deploy my app the snippet of
controllers/tab1.js
creates a error msgtable tab2 has no column named testString in "REPLACE INTO tab2...
. To solve this I can clear the app's data and restart the app or by adding the code snippet ofalloy.js
.controllers/tab1.js
to some other custom controller, e.g.controllers/mytest.js
.controllers/tab1.js
file.saveTestString()
is executed, with the difference that the solution does not work at all.controllers/tab1.js
before I trying to add another records incontrollers/mytest.js
, then no error msg appears.alloy.js
controllers/tab1.js
views/index.xml
views/tab1.xml
views/tab2.xml
models/tab2.js
controllers/mytest.js
views/mytest.xml
Beta Was this translation helpful? Give feedback.
All reactions