Class: CompositeCursor::FindOps
- Inherits:
-
Object
- Object
- CompositeCursor::FindOps
- Includes:
- FromHash
- Defined in:
- lib/mongo_delegate/composite_cursor.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#res ⇒ Object
Returns the value of attribute res.
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
34 35 36 |
# File 'lib/mongo_delegate/composite_cursor.rb', line 34 def cursor @cursor end |
#res ⇒ Object
Returns the value of attribute res.
34 35 36 |
# File 'lib/mongo_delegate/composite_cursor.rb', line 34 def res @res end |
Instance Method Details
#options ⇒ Object
36 |
# File 'lib/mongo_delegate/composite_cursor.rb', line 36 def ; cursor.; end |
#zero_limit? ⇒ Boolean
57 58 59 |
# File 'lib/mongo_delegate/composite_cursor.rb', line 57 def zero_limit? ops[:limit] == 0 end |