Method: Mongo::Database::View#operation_timeout_ms

Defined in:
lib/mongo/database/view.rb

#operation_timeout_msInteger | nil | The timeout_ms value that was passed as an option to the view. (readonly)

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 Integer | nil | The timeout_ms value that was passed as an option to the view.

Returns:

  • (Integer | nil | The timeout_ms value that was passed as an option to the view.)

    Integer | nil | The timeout_ms value that was passed as an option to the view.

Since:

  • 2.0.0



167
168
169
# File 'lib/mongo/database/view.rb', line 167

def operation_timeout_ms
  @operation_timeout_ms
end