Skip to content

Commit 146c667

Browse files
committed
spell check README.md
1 parent 6be86a1 commit 146c667

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
Supports Realm query API 110% (there are some bonus features too 😉)
77

88
There are two big issues when working with Realm Queries.
9-
1) If a field name is spelled incorectly it failes at runtime instead of compile time.
10-
2) If an argument is an incorect type (Date instead of String) then the query fails at runtime instead of compile time.
9+
1) If a field name is spelled incorrectly it fails at runtime instead of compile time.
10+
2) If an argument is an incorrect type (Date instead of String) then the query fails at runtime instead of compile time.
1111

12-
If you have typesafe query paramaters that allows you to refactor your models without worry of breaking your queries.
13-
All the field descriptors are auto generated using annotatio proccess so you can't make a mistake.
12+
If you have typesafe query parameters that allows you to refactor your models without worry of breaking your queries.
13+
All the field descriptors are auto generated using annotation process so you can't make a mistake.
1414
If you do, then it is caught at compile time and your app won't compile until you fix it.
1515

1616
### Here is some java code highlighting what the API looks like
1717
```java
18-
// Bad, field name and type are checked at runtime. This is using Relam the defualt way.
18+
// Bad, field name and type are checked at runtime. This is using Realm the default way.
1919
realm.where(Person.class).equalTo("firstName", "Sally").findFirst();
2020

2121
// Better, field name is checked at compile time, but type is still at runtime.
@@ -117,6 +117,6 @@ RealmTypeSafeQuery.with(realm).where(ExampleModel.class).group((query) -> {}).fi
117117
RealmTypeSafeQuery.with(realm).where(ExampleModel.class).or((query) -> {}).findAll();
118118

119119
// For those pesky CSV fields that have a delimiter
120-
final String delemiter = ",";
121-
RealmTypeSafeQuery.with(realm).where(ExampleModel.class).contains(field, value, delemiter).findAll();
120+
final String delimiter = ",";
121+
RealmTypeSafeQuery.with(realm).where(ExampleModel.class).contains(field, value, delimiter).findAll();
122122
```

0 commit comments

Comments
 (0)