namlook
namlook
see http://stackoverflow.com/questions/5229470/mongokit-schema-index-on-fields-in-array
As auto referencing is currently implement, there can be no circular references. This is not allowed currently: Doc1 referencing Doc2 and Doc2 referencing Doc1 Circular references are common in graph...
see http://groups.google.com/group/mongokit/t/65b99d22d2523c66
see http://groups.google.com/group/mongokit/browse_thread/thread/a1d26733b555ae25
We should be able to do this: class MyDoc(Document): structure = { "tags": Set(unicode), } >>> doc = db.col.MyDoc() >>> doc['tags'] = [u'foo', u'bar', u'foo'] >>> doc.save() >>> fetched_doc =...
Would it be usefull to enable/disable safe mode in general ? class MyDoc(Document): safe_insert = True # by default structure = {...} This will be implemented into the pymongo driver...
from Christian Joudrey We could add a dict called "structure_aliases" to Document which would serve as an alias when performing writes and reads. For instance: class User(Document): structure = {...
Via structure introspection, we can guess the type of field and then generate some fixtures on the fly. The api could be : `>>> connection.mydb.mycol.Doc.fixtures(how_many=10)` this will load to `mycol`...
See http://groups.google.com/group/mongokit/browse_thread/thread/f282f4dee0dfe1ce Maybe we should call this descriptor "process" as it will process the value before saving it...