MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / User

Class User

tests/test_connection.py:313–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311 connect(db1)
312
313 class User(Document):
314 name = StringField(required=True)
315
316 user1 = User(name="John is in db1").save()
317 disconnect()

Calls 1

StringFieldClass · 0.90