Method: Mongo::Session#advance_operation_time
- Defined in:
- lib/mongo/session.rb
#advance_operation_time(new_operation_time) ⇒ BSON::Timestamp
Advance the cached operation time for this session.
1123 1124 1125 1126 1127 1128 1129 |
# File 'lib/mongo/session.rb', line 1123 def advance_operation_time(new_operation_time) if @operation_time @operation_time = [ @operation_time, new_operation_time ].max else @operation_time = new_operation_time end end |