-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
2.enhancementNew ideas or improvements.New ideas or improvements.area:indexIssues relating to index declaration or construction.Issues relating to index declaration or construction.org:help-wantedThese issues may make for good entry points into working on the codebase.These issues may make for good entry points into working on the codebase.
Milestone
Description
Given the following test case:
from marrow.mongo import Document, Index
from marrow.mongo.field import String
class Base(Document):
foo = String()
_foo = Index('foo')
class Sub(Base):
bar = String()
_bar = Index('bar')Indexes provided by this class and all subclasses should be made available as an attribute, and calls to create_collection or create_indexes should accept an additional argument (defaulting to True) to create subclass indexes in addition to the primary class indexes.
Metadata
Metadata
Assignees
Labels
2.enhancementNew ideas or improvements.New ideas or improvements.area:indexIssues relating to index declaration or construction.Issues relating to index declaration or construction.org:help-wantedThese issues may make for good entry points into working on the codebase.These issues may make for good entry points into working on the codebase.