realm-kotlin
realm-kotlin copied to clipboard
Kotlin Multiplatform and Android SDK for the Realm Mobile Database: Build Better Apps Faster.
Similar to Realm Java, we should expose the option of easily deleting data from all types in the schema. ```kotlin MutableRealm.deleteAll() ```
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...
Building project locally fails java.lang.AssertionError: symbolic reference class is not accessible
Following the instructions to build locally on a Mac M1 chip: ``` brew install swig git submodule update --init --recursive cd packages ./gradlew assemble ``` ``` > Task :buildSrc:buildSrc:compileKotlin Compilation...
Realm Java has a number of API's for directly importing JSON data. Since very few deal with JSON data directly, but probably go through either Moshi/GSON or Kotlin Serialization, we...
The Kotlin SDK currently supports string-based queries which are standard RQL (Realm Query Language) queries. This has the advantage over the query system in Realm Java, that it is much...
Got this error: ``` e: java.lang.IllegalStateException: Can not find primary constructor at io.realm.compiler.RealmModelSyntheticPropertiesGeneration$addNewInstanceMethodBody$1.invoke(RealmModelSyntheticPropertiesGeneration.kt:477) at io.realm.compiler.RealmModelSyntheticPropertiesGeneration$addNewInstanceMethodBody$1.invoke(RealmModelSyntheticPropertiesGeneration.kt:475) at io.realm.compiler.IrUtilsKt.blockBody(IrUtils.kt:98) at io.realm.compiler.RealmModelSyntheticPropertiesGeneration.addNewInstanceMethodBody(RealmModelSyntheticPropertiesGeneration.kt:475) at io.realm.compiler.RealmModelLowering.lower(RealmModelLoweringExtension.kt:77) at org.jetbrains.kotlin.backend.common.ClassLoweringVisitor.visitClass(Lower.kt:82) ``` Kinda hard to debug without more...
Currently, we only allow RealmObjects to be returned from `Realm.write`. We should allow other Realm types as well. We have previously talked about allowing standard collection types or e.g. Pair...
While do we want to keep the `RealmInstant` class as thin as possible, getting the current timestamp is a super common use case. Currently, we do try to avoid having...
Trying to build project with Realm and `org.gradle.unsafe.configuration-cache=true` Have an error: ``` Configuration cache problems found in this build. 1 problem was found storing the configuration cache. - Plugin 'io.realm.kotlin':...
Similar to Realm Java, we should have support for all the Mongo Client API's here: https://github.com/realm/realm-java/tree/master/realm/realm-library/src/objectServer/java/io/realm/mongodb/mongo