Answer the question
In order to leave comments, you need to log in
How to make complex doctrine orm query?
Colleagues, good evening.
For example, if I want to filter only by Yandex.Money
Each object in JSON is essentially a separate entity.
The links are already set up
. How the request might look like, so that you can reach out from:
"name": "Yandex.Money",
"id": 12
{
"name": "Holiday Inn Express Voronezh-Kirova",
"image": "https://hiexvoronezh.ru/images/gallery/photo_hotel%20%2816%29.jpg",
"postCode": 394018,
"home": "9/1",
"phone": "+7-473-206-59-99",
"site": "http://auto-mile.com/\r\n",
"schedule": "ежедневно, 9:00–19:00\r\n",
"latitude": "56.006729",
"longitude": "56.006729",
"id": "122",
"city": {
"id": 3538,
"name": "Воронеж"
},
"street": {
"name": "Кирова",
"id": 2
},
"country": {
"id": 3159,
"name": "Россия"
},
"rating": "4.3",
"services": [
{
"name": "Оплата картой",
"id": 3,
"types": [
{
"name": "MasterCard",
"id": 10
},
{
"name": "Maestro",
"id": 11
},
{
"name": "Яндекс.Деньги",
"id": 12
}
]
},
{
"name": "Wi-Fi ",
"id": 4,
"types": []
}
]
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question