Meldbase TypeScript API
Preparing search index...
client/src
InsertDocument
Type Alias InsertDocument<T, U>
InsertDocument
:
U
&
((
U
&
{
_id
:
T
[
"_id"
]
}
)
extends
T
?
unknown
:
never
)
Checks that an insert matches the collection schema after an ID is assigned.
Type Parameters
T
extends
Document
U
extends
InputDocument
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Meldbase TypeScript API
Loading...
Checks that an insert matches the collection schema after an ID is assigned.