I mean if we sent data in a array from frontend than what is the structure of model for array..
CartSchema.....
{
how we make a model for array
}
anyone help me!
1 Replies
we can define like this in an model.
interests: [{ type: Array}]
Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.
Follow us on:
Quick Links
Policies
Subscribe to get latest updates