Function: date()
date(options)
date(
options
: {nullable
:true
; } &Omit
<ScalarOptions
<Date
>,"name"
>):Property
<Date
|undefined
|null
>
Adds a nullable Date property to the entity and allows for configuration of the property.
Parameters
Parameter | Type | Description |
---|---|---|
options | {nullable : true ; } & Omit <ScalarOptions <Date >, "name" > | The options for the property. |
Returns
Property
<Date
| undefined
| null
>
Defined in
packages/verse-core/src/model/builder.ts:715
date(options)
date(
options
?:Omit
<ScalarOptions
<Date
>,"name"
>):Property
<Date
>
Adds a Date property to the entity and allows for configuration of the property.
Parameters
Parameter | Type | Description |
---|---|---|
options ? | Omit <ScalarOptions <Date >, "name" > | The options for the property. |