Mongodb Skip() and limit()
<p>I am performing update queries on a mongo collection with a lot of records. So I am using <code>skip()</code> and <code>limit()</code> functions.
eg: In first file I am working on first 50000 records.</p>

<pre><code>cur1= db.collection_name.find(no_cursor_timeout=True).skip(0).limit(50000)
</code></pre>

<p>In send file I am accessing next 50000 records</p>

<pre><code>cur2=db.collection_name.find(no_cursor_timeout=True).skip(50000).limit(50000)
</code></pre>

<p>I perform various update queries on these two cursors in separate files.
Now I want to know how these updated records are added back in collection? Will cur2 fetch records updated in cur1 queries?</p>