MCPcopy Create free account
hub / github.com/MongoEngine/mongoengine / Date

Class Date

tests/document/test_indexes.py:385–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383 """Tests settings an index on an embedded document"""
384
385 class Date(EmbeddedDocument):
386 year = IntField(db_field="yr")
387
388 class BlogPost(Document):
389 title = StringField()

Callers 1

test_unique_withMethod · 0.85

Calls 1

IntFieldClass · 0.85

Tested by 1

test_unique_withMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…