Skip to content

Commit 471a1f6

Browse files
authored
chore: fix typos (#330)
1 parent 934b168 commit 471a1f6

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

MIGRATING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The concept of a primary key has been deprecated entirely. You do not have to pr
5757

5858
### Default values
5959

60-
You can provide default values to the properies of your collection using the respective syntax of your schema library of choice. For example, here's how you list default values in Zod:
60+
You can provide default values to the properties of your collection using the respective syntax of your schema library of choice. For example, here's how you list default values in Zod:
6161

6262
```ts
6363
const users = new Collection({

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ const userSchema = z.object({
248248
const countrySchema = z.object({ code: z.string() })
249249
250250
const users = new Collection({ schema: userSchema })
251-
const contries = new Collection({ schema: countrySchema })
251+
const countries = new Collection({ schema: countrySchema })
252252
253253
// Declare the relations on the `users` collection.
254254
users.defineRelations(({ one }) => ({
@@ -379,7 +379,7 @@ const mechanic = await mechanics.create({ name: 'Kyle', car })
379379
mechanic.car.owner.name // "John"
380380
```
381381

382-
> Note that although `mechanics` does not define an explcit relation to `owners`, you can get the owner of the car associated with a mechanic through the `car` relation.
382+
> Note that although `mechanics` does not define an explicit relation to `owners`, you can get the owner of the car associated with a mechanic through the `car` relation.
383383

384384
### Unique relations
385385

@@ -652,7 +652,7 @@ users.defineRelations(({ many }) => ({
652652

653653
##### Relational utilities
654654

655-
The following relational utilies are exposed in the argument to this method:
655+
The following relational utilities are exposed in the argument to this method:
656656

657657
- `one(collection[, options])`, defines a one-of relation to the given collection;
658658
- `many(collection[, options])`, defines a many-of relation to the given collection.

decisions/query-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ users.findFirst({
1616
})
1717
```
1818

19-
Mixing record properties and logical properties results in queries that are hard to read. Compare this to the builder syntax that wraps predicates in logical experesions instead:
19+
Mixing record properties and logical properties results in queries that are hard to read. Compare this to the builder syntax that wraps predicates in logical expressions instead:
2020

2121
```ts
2222
users.findFirst((q) =>

0 commit comments

Comments
 (0)