How to access database and create table in Rhomobile framework

做~自己de王妃 提交于 2019-12-25 01:39:38

问题


I am new to Rhomobile. I am developing application in Rhomobile. Can any one guide me How can view the database and tables in RHOMOBILE and How can create a database and tables.

I have seen the RHOMOBILE tutorials. I did't get any clear idea. Pleas Guide me.


回答1:


If in Windows you can view your database in the file under your gem's folder in the path
platform/wm/bin/win32/rhodes/Debug/rho/db/syncdblocal.sqlite

You can use SQLite Database Browser (http://sqlitebrowser.sourceforge.net) to manipulate your data. Download it at SourceForge SQLiteBrowser Project Page.



来源:https://stackoverflow.com/questions/10213152/how-to-access-database-and-create-table-in-rhomobile-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!