Method: Mongo::Server::Description#last_write_date
- Defined in:
- lib/mongo/server/description.rb
#last_write_date ⇒ Time
Get the lastWriteDate from the lastWrite subdocument in the config.
545 546 547 |
# File 'lib/mongo/server/description.rb', line 545 def last_write_date config[LAST_WRITE][LAST_WRITE_DATE] if config[LAST_WRITE] end |