Method: Mongo::Cursor#has_next?

Defined in:
lib/mongo/cursor.rb

#has_next?Boolean

Determine whether this cursor has any remaining results.



108
109
110
# File 'lib/mongo/cursor.rb', line 108

def has_next?
  num_remaining > 0
end