DEV Community

Azeem Haider
Azeem Haider

Posted on

NestedModel in Google Firestore - FireO

FireO allow you to create NestedModel Model inside another model.

Usage Example:

class User(Model):
    name = TextField()

class Student(Model):
    address = TextField()
    user = NestedModel(User)

u = User(name='Nested_Model')

s = Student(address="Student_address")
s.user = u

Read More NestedModel

Give some good feedback to FireO

Top comments (0)