Class: Mongo::Operation::Commands::CollectionsInfo::Result
- Defined in:
- lib/mongo/operation/commands/collections_info/result.rb
Overview
Defines custom behaviour of results when query the system.namespaces collection.
Constant Summary
Constants inherited from Result
Result::CURSOR, Result::CURSOR_ID, Result::FIRST_BATCH, Result::N, Result::NAMESPACE, Result::NEXT_BATCH, Result::OK, Result::RESULT
Instance Attribute Summary
Attributes inherited from Result
Instance Method Summary collapse
-
#namespace ⇒ String
Get the namespace for the cursor.
Methods inherited from Result
#acknowledged?, #cursor_id, #documents, #each, #initialize, #inspect, #multiple?, #ok?, #reply, #returned_count, #successful?, #validate!, #written_count
Constructor Details
This class inherits a constructor from Mongo::Operation::Result
Instance Method Details
#namespace ⇒ String
Get the namespace for the cursor.
34 35 36 |
# File 'lib/mongo/operation/commands/collections_info/result.rb', line 34 def namespace Database::NAMESPACES end |