MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / asTimestamp

Function asTimestamp

lib/datastax/graph/wrappers.js:76–76  ·  view source on GitHub ↗

* Wraps a Date or null value to hint the client driver that the data type of the value is a timestamp * @memberOf module:datastax/graph

(value)

Source from the content-addressed store, hash-verified

74 * @memberOf module:datastax/graph
75 */
76function asTimestamp(value) { return new GraphTypeWrapper(value, dataTypes.timestamp); }
77
78/**
79 * Wraps an Object or null value to hint the client driver that the data type of the value is a user-defined type.

Callers 1

graphson-tests.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected