Method: Neo4j::Config.timestamp_type

Defined in:
lib/neo4j/config.rb

.timestamp_typeClass

Returns The configured timestamps type (e.g. Integer) or the default DateTime.

Returns:

  • (Class)

    The configured timestamps type (e.g. Integer) or the default DateTime.



109
110
111
# File 'lib/neo4j/config.rb', line 109

def timestamp_type
  Neo4j::Config[:timestamp_type] || DateTime
end