rethinkdb-orm
6.0.0
RethinkDB
Connection
RethinkORM
AssociationCollection
Associations
Base
Changefeed
Change
Event
Raw
Collection
Connection
Error
ChangefeedClosed
ConnectError
DatabaseError
DocumentExists
DocumentInvalid
DocumentNotFound
DocumentNotSaved
LockInvalidOp
LockLost
LockUnavailable
IdGenerator
Index
Lock
FloatEpochConverter
Reentrant
TokenRefresher
Persistence
Queries
HasChanges
R
Settings
HabitatSettings
Table
Timestamps
Validators
module
RethinkORM::Lock::FloatEpochConverter
Overview
This module converts an epoch to a decimal seconds. RethinkDB's epochs are floats!?
:nodoc:
Defined in:
rethinkdb-orm/lock.cr
Class Method Summary
.from_json
(value : JSON::PullParser) : Time
.to_json
(value : Time, json : JSON::Builder)
Class Method Detail
def self.
from_json
(value : JSON::PullParser) : Time
#
[
View source
]
def self.
to_json
(value : Time, json : JSON::Builder)
#
[
View source
]