Skip to content

Commit e2aff81

Browse files
Merge pull request #7405 from realm/rawpredicate-doc-typos
Fixing a couple of typos in the javadoc for rawPredicate
2 parents 930096e + 8c548da commit e2aff81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

realm/realm-library/src/main/java/io/realm/RealmQuery.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2244,10 +2244,10 @@ public RealmQuery<E> alwaysFalse() {
22442244
* query.rawPredicate("ALL children.age > 18")
22452245
*
22462246
* // Sub queries
2247-
* query.rawPredicate("SUBQUERY(children, $child, $child.age > 21 AND $child.gender = 'male'").@count > 0');
2247+
* query.rawPredicate("SUBQUERY(children, $child, $child.age > 21 AND $child.gender = 'male').@count > 0");
22482248
*
22492249
* // Sort, Distinct, Limit
2250-
* query.rawPredicate("name = 'Jane' SORT(lastName) DISTINCT(city) LIMIT(5)");
2250+
* query.rawPredicate("name = 'Jane' SORT(lastName ASC) DISTINCT(city) LIMIT(5)");
22512251
* }
22522252
* </pre>
22532253
*

0 commit comments

Comments
 (0)