File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ like atomic operations and queue listeners.
10
10
11
11
- CRUD operations for selected and ranged documents with strong typing.
12
12
- Primary (unique) and secondary (non-unique) indexing.
13
+ - Extensible model strategy (Zod supported)
13
14
- Segmented storage for large objects that exceed the native size limit.
14
15
- Support for pagination and filtering.
15
16
- Create repeating cron jobs.
@@ -70,8 +71,8 @@ like atomic operations and queue listeners.
70
71
## Models
71
72
72
73
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
75
76
being a dependency. The standard model uses TypeScript inference only and does
76
77
not validate any data when parsing. It is up to the devloper to choose the
77
78
strategy that fits their use case the best.
You can’t perform that action at this time.
0 commit comments