You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/com/mongodb/DBCollection.java
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ public WriteResult remove( DBObject o )
203
203
* @param ref query used to search
204
204
* @param fields the fields of matching objects to return
205
205
* @param numToSkip will not return the first <tt>numToSkip</tt> matches
206
-
* @param batchSize if positive, is the # of objects per batch sent back from the db. all objects that match will be returned. if batchSize < 0, its a hard limit, and only 1 batch will either batchSize or the # that fit in a batch
206
+
* @param batchSize if positive, represents the size of each batch of objects retrieved. If negative, it limits the total number of objects retrieved.
207
207
* @param options - see Bytes QUERYOPTION_*
208
208
* @return the objects, if found
209
209
* @dochub find
@@ -212,10 +212,11 @@ public WriteResult remove( DBObject o )
212
212
213
213
/**
214
214
* Finds an object.
215
+
* Calls {@link DBCollection#find(com.mongodb.DBObject, com.mongodb.DBObject, int, int)} and applies the query options
215
216
* @param ref query used to search
216
217
* @param fields the fields of matching objects to return
217
218
* @param numToSkip will not return the first <tt>numToSkip</tt> matches
218
-
* @param batchSize if positive, is the # of objects per batch sent back from the db. all objects that match will be returned. if batchSize < 0, its a hard limit, and only 1 batch will either batchSize or the # that fit in a batch
219
+
* @param batchSize if positive, represents the size of each batch of objects retrieved. If negative, it limits the total number of objects retrieved.
219
220
* @param options - see Bytes QUERYOPTION_*
220
221
* @return the objects, if found
221
222
* @throws MongoException
@@ -231,7 +232,7 @@ public final DBCursor find( DBObject ref , DBObject fields , int numToSkip , int
231
232
* @param ref query used to search
232
233
* @param fields the fields of matching objects to return
233
234
* @param numToSkip will not return the first <tt>numToSkip</tt> matches
234
-
* @param batchSize if positive, is the # of objects per batch sent back from the db. all objects that match will be returned. if batchSize < 0, its a hard limit, and only 1 batch will either batchSize or the # that fit in a batch
235
+
* @param batchSize if positive, represents the size of each batch of objects retrieved. If negative, it limits the total number of objects retrieved.
0 commit comments