Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ A
Class
A
tests/fields/test_fields.py:1230–1231 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1228
c = EmbeddedDocumentField(C, db_field=
"fc"
)
1229
1230
class
A(Document):
1231
b = EmbeddedDocumentField(B, db_field=
"fb"
)
1232
1233
a = A(b=B(c=C(txt=
"hi"
)))
1234
a.validate()
Callers
2
test_double_embedded_db_field
Method · 0.70
test_empty_list_embedded_documents_with_unique_field
Method · 0.70
Calls
1
EmbeddedDocumentField
Class · 0.90
Tested by
2
test_double_embedded_db_field
Method · 0.56
test_empty_list_embedded_documents_with_unique_field
Method · 0.56