-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35e3d2a
commit d57fdbb
Showing
6 changed files
with
48 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
:mod:`collection` -- Map a mongo collection into a python class | ||
:mod:`collection` -- A mongo collection | ||
============================================ | ||
|
||
.. automodule:: mongotor.orm.collection | ||
:synopsis: map a mongo collection to a python class | ||
.. automodule:: mongotor.client | ||
:synopsis: a mongo collection | ||
|
||
.. autoclass:: mongotor.orm.collection.Collection | ||
.. autoclass:: mongotor.client.Client | ||
|
||
.. automethod:: save | ||
.. automethod:: insert | ||
.. automethod:: remove | ||
.. automethod:: update | ||
.. automethod:: find_one | ||
.. automethod:: find | ||
.. automethod:: count | ||
.. automethod:: distinct | ||
.. automethod:: aggregate | ||
.. automethod:: group | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
:mod:`errors` -- Mongotor errors | ||
============================================ | ||
|
||
.. automodule:: mongotor.errors | ||
:synopsis: Mongotor errors | ||
|
||
.. autoclass:: mongotor.errors.Error | ||
.. autoclass:: mongotor.errors.InterfaceError | ||
.. autoclass:: mongotor.errors.TooManyConnections | ||
.. autoclass:: mongotor.errors.InvalidOperationError | ||
.. autoclass:: mongotor.errors.IntegrityError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
:mod:`orm` -- Map a mongo collection into a python class | ||
============================================ | ||
|
||
.. automodule:: mongotor.orm.collection | ||
:synopsis: map a mongo collection to a python class | ||
|
||
.. autoclass:: mongotor.orm.collection.Collection | ||
|
||
.. automethod:: save | ||
.. automethod:: remove | ||
.. automethod:: update |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters