Method: Mongo::Session#recovery_token
- Defined in:
- lib/mongo/session.rb
#recovery_token ⇒ BSON::Document | nil
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns Recovery token for the sharded transaction being executed on this session, if any.
290 291 292 |
# File 'lib/mongo/session.rb', line 290 def recovery_token @recovery_token end |