Preparing search index...
The search index is not available
@datastax/astra-db-ts
@datastax/astra-db-ts
IdOf
Type alias IdOf<TSchema>
Id
Of
<
TSchema
>
:
TSchema
extends
{
_id
:
infer
Id
;
}
?
Id
:
TSchema
extends
{
_id
?:
infer
Id
;
}
?
unknown
extends
Id
?
SomeId
:
Id
:
SomeId
Extracts the
_id
type from a given schema, or defaults to
SomeId
if uninferable
Type Parameters
TSchema
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@datastax/astra-db-ts
Loading...
Extracts the
_id
type from a given schema, or defaults toSomeId
if uninferable