ios - How to initialize a Realm DB -


i want app ship out pre-initialized db.

in sql, create db, necessary inserts, pg_dump file, , load file. i'm sure realm has equivalent method, i'm not sure , couldn't find in documentation.

(disclaimer: work realm)

there's no pg_dump-like functionality in realm, can distribute pre-built realm file along app , that'll work fine. :)

at moment, best way create pre-made realm file make small sample app generate , populate file, we're working on adding functionality realm browser well.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -