Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MongoEngine/mongoengine
/ Group
Class
Group
tests/test_dereference.py:24–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
name = StringField()
23
24
class
Group(Document):
25
members = ListField(ReferenceField(User))
26
27
User.drop_collection()
28
Group.drop_collection()
Callers
15
test_list_item_dereference
Method · 0.70
test_list_item_dereference_dref_false
Method · 0.70
test_list_item_dereference_orphan_dbref
Method · 0.70
test_list_item_dereference_dref_false_stores_as_type
Method · 0.70
test_handle_old_style_references
Method · 0.70
test_migrate_references
Method · 0.70
test_generic_reference
Method · 0.70
test_generic_reference_orphan_dbref
Method · 0.70
test_list_field_complex
Method · 0.70
test_map_field_reference
Method · 0.70
test_dict_field
Method · 0.70
test_dict_field_no_field_inheritance
Method · 0.70
Calls
6
ListField
Class · 0.85
ReferenceField
Class · 0.85
GenericReferenceField
Class · 0.85
MapField
Class · 0.85
DictField
Class · 0.85
StringField
Class · 0.85
Tested by
15
test_list_item_dereference
Method · 0.56
test_list_item_dereference_dref_false
Method · 0.56
test_list_item_dereference_orphan_dbref
Method · 0.56
test_list_item_dereference_dref_false_stores_as_type
Method · 0.56
test_handle_old_style_references
Method · 0.56
test_migrate_references
Method · 0.56
test_generic_reference
Method · 0.56
test_generic_reference_orphan_dbref
Method · 0.56
test_list_field_complex
Method · 0.56
test_map_field_reference
Method · 0.56
test_dict_field
Method · 0.56
test_dict_field_no_field_inheritance
Method · 0.56