How to create nesting model relation or custom model #8820
Unanswered
akarshnagariya20
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hoow to define model as where place contains activityCategoryIds array and activityCategoryIds contain activity
{
"name": "Hidimba temple",
"id": "62f754ec46ff51957b6a06bd",
"activityCategoryIds": [
{
"id": "62f754b9f0863190e43931e3",
"name": "worship & Temple",
"activity": [
{
"id": "62f75509f6aa851bd2719036",
"name": "Worship"
},
{
"id": "62f75516d0caf1b4651f461b",
"name": "Temple"
},
{
"id": "62f755234067ee38a34af2a0",
"name": "local market"
}
]
}
]
}
Beta Was this translation helpful? Give feedback.
All reactions