Skip to content

Commit

Permalink
Fix autobuilder error
Browse files Browse the repository at this point in the history
  • Loading branch information
cbullinger committed Oct 20, 2023
1 parent 9454cdf commit 442654b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,6 @@ class UpdateTest: RealmTest() {
realm.write {
val updated = query<ExampleRealmObject_Frog>("age <= $0", 2).find()
assertEquals(2, updated.size)
assertContains("Jr.", updated[0].name)
assertContains("Jr.", updated[1].name)
deleteAll()
}
realm.close()
Expand Down
2 changes: 1 addition & 1 deletion source/sdk/kotlin/realm-database/crud/update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ Upsert a Realm Object
To upsert an object into a realm, insert an object with a primary key
using
`copyToRealm() <{+kotlin-local-prefix+}io.realm.kotlin/-mutable-realm/copy-to-realm.html>`__,
as you would when :ref:`creating a new object <kotlin-create-object>`, and pass an
as you would when :ref:`creating a new object <kotlin-create-a-new-object>`, and pass an
`UpdatePolicy <{+kotlin-local-prefix+}io.realm.kotlin/-update-policy/index.html>`__
parameter to specify how the SDK handles existing objects with the same
primary key:
Expand Down

0 comments on commit 442654b

Please sign in to comment.