Doc updates
This commit is contained in:
parent
ede9fcfb00
commit
44a2a164c0
2 changed files with 3 additions and 3 deletions
|
|
@ -450,8 +450,8 @@ by creating a list of index specifications called :attr:`indexes` in the
|
|||
:attr:`~mongoengine.Document.meta` dictionary, where an index specification may
|
||||
either be a single field name, a tuple containing multiple field names, or a
|
||||
dictionary containing a full index definition. A direction may be specified on
|
||||
fields by prefixing the field name with a **+** or a **-** sign. Note that
|
||||
direction only matters on multi-field indexes. ::
|
||||
fields by prefixing the field name with a **+** (for ascending) or a **-** sign
|
||||
(for descending). Note that direction only matters on multi-field indexes. ::
|
||||
|
||||
class Page(Document):
|
||||
title = StringField()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue