Skip to content

Commit dc3bdf9

Browse files
Apply suggestions from review
Co-authored-by: Kyle Rollins <115574589+krollins-mdb@users.noreply.github.com>
1 parent c64e548 commit dc3bdf9

7 files changed

+9
-10
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
The following example demonstrates how to delete everything
22
from the database with :java-sdk:`deleteAll()
3-
<io/realm/Realm.html#deleteAll-->`.
3+
<io/realm/Realm.html#deleteAll()-->`.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
The following example demonstrates how to delete all
22
Turtle instances from the database with :java-sdk:`delete()
3-
<io/realm/Realm.html#delete-java.lang.Class->`.
3+
<io/realm/Realm.html#delete(java.lang.Class)>`.

source/includes/api-details/java/crud/delete-multiple-objects-description.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ To delete an object from the database, use the ``deleteAllFromRealm()``
22
method of the :java-sdk:`RealmResults <io/realm/RealmResults.html>`
33
instance that contains the objects you would like to delete. You can
44
filter the ``RealmResults`` down to a subset of objects using the
5-
:java-sdk:`where() <io/realm/Realm.html#where-java.lang.Class->` method.
5+
:java-sdk:`where() <io/realm/Realm.html#where(java.lang.Class)>` method.
66

77
The following example demonstrates how to delete a
88
collection from the database with :java-sdk:`deleteAllFromRealm()
9-
<io/realm/RealmResults.html#deleteAllFromRealm-->`.
9+
<io/realm/RealmResults.html#deleteAllFromRealm()>`.

source/includes/api-details/java/crud/delete-single-object-description.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ versions of the ``deleteFromRealm()`` method of a :java-sdk:`RealmObject
44

55
The following example shows how to delete one object from
66
its realm with :java-sdk:`deleteFromRealm()
7-
<io/realm/RealmObject.html#deleteFromRealm-->`.
7+
<io/realm/RealmObject.html#deleteFromRealm()>`.

source/includes/api-details/kotlin/crud/delete-remove-elements-from-list-description.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ You can remove one or more elements in a single transaction from a
44
- To remove one element from the list, pass the element to
55
:kotlin-sdk:`list.remove() <io.realm.kotlin.types/-realm-list/index.html#731697687%2FFunctions%2F878332154>`.
66
- To remove one element at a specified index in the list, pass the index to
7-
:kotlin-sdk:`list.removeAt() <io.realm.kotlin.types/-realm-list/index.html#1522148962%2FFunctions%2F878332154>`.
7+
:kotlin-sdk:`list.removeAt() <io.realm.kotlin.types/-realm-list/index.html#-1899070414%2FFunctions%2F878332154>`.
88
- To remove multiple elements from the list, pass the elements to
99
:kotlin-sdk:`list.removeAll() <io.realm.kotlin.types/-realm-list/index.html#1522148962%2FFunctions%2F878332154>`.
1010

source/includes/api-details/kotlin/crud/delete-remove-elements-from-set-description.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ You can remove one or more elements in a single transaction from a
33

44
- To remove one element from the set, pass the element
55
you want to delete to
6-
:kotlin-sdk:`set.remove() <io.realm.kotlin.types/-realm-set/index.html#-1503494415%2FFunctions%2F-1651551339>`.
6+
:kotlin-sdk:`set.remove() <io.realm.kotlin.types/-realm-set/index.html#-1503494415%2FFunctions%2F878332154>`.
77
- To remove multiple elements from the set, pass the
88
elements you want to delete to
9-
:kotlin-sdk:`set.removeAll() <io.realm.kotlin.types/-realm-set/index.html#430447804%2FFunctions%2F-1651551339>`.
9+
:kotlin-sdk:`set.removeAll() <io.realm.kotlin.types/-realm-set/index.html#430447804%2FFunctions%2F878332154>`.
1010

1111
You can also remove *all* set elements at once by calling
1212
:kotlin-sdk:`set.clear() <io.realm.kotlin.types/-realm-set/index.html#-767459876%2FFunctions%2F878332154>`.

source/sdk/crud/delete.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ If you want to remove objects or properties from the database schema, refer to
4949
Delete Operations
5050
-----------------
5151

52-
All operations that modify a realm - including delete operations -
53-
must be performed inside of a **write transaction**. For more information on
52+
Delete operations must be performed inside of a **write transaction**. For more information on
5453
write transactions and how the SDK handles them, refer to
5554
:ref:`sdks-write-transactions`.
5655

0 commit comments

Comments
 (0)