We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe1a930 commit 5179076Copy full SHA for 5179076
lib/mongo/collection/view/iterable.rb
@@ -56,6 +56,7 @@ def each
56
def close_query
57
@cursor.send(:kill_cursors) if @cursor && !@cursor.closed?
58
end
59
+ alias :kill_cursors :close_query
60
61
private
62
0 commit comments