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.
1132 1133 1134 1135 1136 1137 1138 |
# File 'lib/mongo/session.rb', line 1132 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 |