简体   繁体   中英

Including a pre-seeded database in a RhoMobile application?

So I'm planning on using the Rho::RhoUtils.load_offline_data method to seed my application's database as suggested here

What I'd like to know is where I should call this method? Ideally, I'd like the seeded database to be available when the application is built. So rather than seeding the db the first time the application is for example.

看起来像是设计用于AppApplication的initialize方法

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM