-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Local
-
None
-
1 - XS (<= 1 day)
-
2
-
579
Similar to Realm Java we should add support for easily adding data to new Realm files through an initial write transaction. This should be triggered if this is the first time the Realm file is opened (i.e. no file exists on disk). Configuring an asset file at the same time should be an error.
Suggested API:
Unable to find source-code formatter for language: kotlin. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
RealmConfiguration.Builder.initialData(transaction: MutableRealm.() -> Unit)
- depends on
-
RKOTLIN-225 SchemaMode::ResetFile does not trigger a hard reset
- Closed
- is depended on by
-
RKOTLIN-371 Story: RealmConfiguration
- Closed
- is related to
-
RKOTLIN-226 Add support for RealmConfiguration.initialData()
- Closed