Preparing search index...
The search index is not available
@datastax/astra-db-ts
@datastax/astra-db-ts
StrictPush
Type alias StrictPush<Schema, InNotation>
Strict
Push
<
Schema
,
InNotation
>
:
ContainsArr
<
InNotation
>
extends
true
?
{
[
K
in
keyof
ArrayUpdate
<
InNotation
>
]
?:
ArrayUpdate
<
InNotation
>
[
K
]
|
{
$each
:
ArrayUpdate
<
InNotation
>
[
K
]
[]
;
$position
?:
number
;
}
}
:
TypeErr
<
"Can not perform array operation on a schema with no arrays"
>
Strongly types the push operation (inc. dot notation schema).
Type Parameters
Schema
extends
SomeDoc
InNotation
=
ToDotNotation
<
Schema
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@datastax/astra-db-ts
Loading...
Strongly types the push operation (inc. dot notation schema).