note 111008 added to mongocursor.reset

From: Date: Fri, 04 Jan 2013 19:45:18 +0000
Subject: note 111008 added to mongocursor.reset
Groups: php.notes 
Request: Send a blank email to php-notes+get-192767@lists.php.net to get a copy of this message
If you call reset() on a cursor and never call hasNext/getNext/etc it will essentially act as a "close" method. This is useful if you didn't finish fetching all the data from a cursor but don't want it to linger around till MongoDB decides to kill it. ---- Server IP: 69.147.83.199 Probable Submitter: 209.251.128.58 ---- Manual Page -- http://php.net/manual/en/mongocursor.reset.php Edit -- https://master.php.net/note/edit/111008 Del: integrated -- https://master.php.net/note/delete/111008/integrated Del: useless -- https://master.php.net/note/delete/111008/useless Del: bad code -- https://master.php.net/note/delete/111008/bad+code Del: spam -- https://master.php.net/note/delete/111008/spam Del: non-english -- https://master.php.net/note/delete/111008/non-english Del: in docs -- https://master.php.net/note/delete/111008/in+docs Del: other reasons-- https://master.php.net/note/delete/111008 Reject -- https://master.php.net/note/reject/111008 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#192767) next »