document collection.reset() with no args.

This commit is contained in:
Jeremy Ashkenas
2011-05-26 14:30:37 -04:00
parent d8d94f1391
commit 5f7b01d94c

View File

@@ -1367,6 +1367,11 @@ Accounts.fetch();
</script>
</pre>
<p>
Calling <tt>collection.reset()</tt> without passing any models as arguments
will empty the entire collection.
</p>
<p id="Collection-create">
<b class="header">create</b><code>collection.create(attributes, [options])</code>
<br />