~crunch.io/ubuntu/precise/pymongo/unstable

« back to all changes in this revision

Viewing changes to doc/api/pymongo/collection.rst

  • Committer: Joseph Tate
  • Date: 2013-01-31 08:00:57 UTC
  • mfrom: (1.1.12)
  • Revision ID: jtate@dragonstrider.com-20130131080057-y7lv17xi6x8c1j5x
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
   .. autodata:: pymongo.ASCENDING
8
8
   .. autodata:: pymongo.DESCENDING
9
9
   .. autodata:: pymongo.GEO2D
 
10
   .. autodata:: pymongo.GEOHAYSTACK
10
11
 
11
12
   .. autoclass:: pymongo.collection.Collection(database, name[, create=False[, **kwargs]]])
12
13
 
20
21
      .. autoattribute:: full_name
21
22
      .. autoattribute:: name
22
23
      .. autoattribute:: database
23
 
      .. autoattribute:: slave_okay
24
24
      .. autoattribute:: read_preference
25
 
      .. autoattribute:: safe
 
25
      .. autoattribute:: tag_sets
 
26
      .. autoattribute:: secondary_acceptable_latency_ms
 
27
      .. autoattribute:: write_concern
26
28
      .. autoattribute:: uuid_subtype
27
 
      .. automethod:: get_lasterror_options
28
 
      .. automethod:: set_lasterror_options
29
 
      .. automethod:: unset_lasterror_options
30
 
      .. automethod:: insert(doc_or_docs[, manipulate=True[, safe=False[, check_keys=True[, continue_on_error=False[, **kwargs]]]])
31
 
      .. automethod:: save(to_save[, manipulate=True[, safe=False[, **kwargs]]])
32
 
      .. automethod:: update(spec, document[, upsert=False[, manipulate=False[, safe=False[, multi=False[, **kwargs]]]]])
33
 
      .. automethod:: remove([spec_or_id=None[, safe=False[, **kwargs]]])
 
29
      .. automethod:: insert(doc_or_docs[, manipulate=True[, safe=None[, check_keys=True[, continue_on_error=False[, **kwargs]]]]])
 
30
      .. automethod:: save(to_save[, manipulate=True[, safe=None[, check_keys=True[, **kwargs]]]])
 
31
      .. automethod:: update(spec, document[, upsert=False[, manipulate=False[, safe=None[, multi=False[, check_keys=True[, **kwargs]]]]]])
 
32
      .. automethod:: remove([spec_or_id=None[, safe=None[, **kwargs]]])
34
33
      .. automethod:: drop
35
34
      .. automethod:: find([spec=None[, fields=None[, skip=0[, limit=0[, timeout=True[, snapshot=False[, tailable=False[, sort=None[, max_scan=None[, as_class=None[, slave_okay=False[, await_data=False[, partial=False[, manipulate=True[, read_preference=ReadPreference.PRIMARY[, **kwargs]]]]]]]]]]]]]]]])
36
35
      .. automethod:: find_one([spec_or_id=None[, *args[, **kwargs]]])
42
41
      .. automethod:: reindex
43
42
      .. automethod:: index_information
44
43
      .. automethod:: options
 
44
      .. automethod:: aggregate
45
45
      .. automethod:: group
46
46
      .. automethod:: rename
47
47
      .. automethod:: distinct
48
48
      .. automethod:: map_reduce
49
49
      .. automethod:: inline_map_reduce
50
50
      .. automethod:: find_and_modify
 
51
      .. autoattribute:: slave_okay
 
52
      .. autoattribute:: safe
 
53
      .. automethod:: get_lasterror_options
 
54
      .. automethod:: set_lasterror_options
 
55
      .. automethod:: unset_lasterror_options
51
56