Skip to content

Commit 439fc2e

Browse files
Merge pull request #88 from oliver-oloughlin/patch/readme-update
updated README highlights
2 parents 6d1f201 + 041d74d commit 439fc2e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ like atomic operations and queue listeners.
1010

1111
- CRUD operations for selected and ranged documents with strong typing.
1212
- Primary (unique) and secondary (non-unique) indexing.
13+
- Extensible model strategy (Zod supported)
1314
- Segmented storage for large objects that exceed the native size limit.
1415
- Support for pagination and filtering.
1516
- Create repeating cron jobs.
@@ -70,8 +71,8 @@ like atomic operations and queue listeners.
7071
## Models
7172

7273
Collections are typed using models. Standard models can be defined using the
73-
`model()` function. Alternatively, any object that implements the Model
74-
interface can be used as a model. Zod is therefore fully compatible, without
74+
`model()` function. Alternatively, any object that extends or implements the
75+
Model type can be used as a model. Zod is therefore fully compatible, without
7576
being a dependency. The standard model uses TypeScript inference only and does
7677
not validate any data when parsing. It is up to the devloper to choose the
7778
strategy that fits their use case the best.

0 commit comments

Comments
 (0)