Creates a new DataAPITimestamp
instance from various formats.
Optional
input: string | Date | Partial<DataAPITimestampComponents>The input to create the DataAPITimestamp
from
Private
Readonly
#timestampImplementation of $SerializeForCollection
for TableCodec
Implementation of $SerializeForTable
for TableCodec
Returns the DataAPITimestampComponents that make up this DataAPITimestamp
The components of the timestamp
Static
[$Implementation of $DeserializeForCollection
for TableCodec
Static
[$Implementation of $DeserializeForTable
for TableCodec
Represents a
timestamp
column for Data API tables.You may use the timestamp function as a shorthand for creating a new
DataAPITimestamp
.See the official DataStax documentation for more information.