couchdbkit
couchdbkit copied to clipboard
Nested documents
It would be good if you could nest documents, or nest an array of documents or something similar rather than just DictProperty and ListProperty.
we could have a NestedProperty linking to 1 more document ids.
class A(Document):
link = DocLinkProperty(SomeDocumentClass)
collection = CollectionProperty(SomeDocumentClass)
Do you want something like it ? Naming could change though
That sounds perfect, not overly fussed by the naming!
With a pointer in the right direction I could give you a hand implementing this.
That actually would be great