exists indexing note

This commit is contained in:
Mike Dirolf 2010-06-22 16:19:44 -04:00
parent 30c253e6d4
commit dc44f54a53

View File

@ -201,7 +201,9 @@ class GridFS(object):
>>> fs.exists(foo={"$gt": 12})
Returns ``True`` if a matching file exists, ``False``
otherwise.
otherwise. Calls to :meth:`exists` will not automatically
create appropriate indexes; application developers should be
sure to create indexes if needed and as appropriate.
:Parameters:
- `document_or_id` (optional): query document, or _id of the