[AC-2471] Titanium Database - Not getting installed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2013-03-13T13:13:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI |
Labels | Database, Titanium, TitaniumStudio |
Reporter | Hariprasauth |
Assignee | Shak Hossain |
Created | 2013-03-13T05:41:51.000+0000 |
Updated | 2016-03-08T07:41:31.000+0000 |
Description
Hi,
I created a SQL Lite Database, saved it in my local system with the ext .sqllite and imported the same (as file system) to my Titanium Studio. And i executed the statement
var db = Ti.Database.install('../mydata/mydb.sqlite', 'ModelRef');
var model = db.execute('SELECT Model from ModelRef WHERE Capacity = ? AND Temperature = ?',"5.45","-5");
This gives as error message like "ModelRef" table not found. Please can you help?
Regards,
Hari
Where is the database stored in the app directory?
Hari, We have not heard back from you. Not sure if you resolved the issue. If not, please let us know how can we help further. If we don't hear back from you, we will assume the issue resolved and close it. Thanks,
Closing since we are not getting any response from Hariprasauth.