Я использую облако Parse в качестве бэкэнда в своем приложении. Ниже приведены таблицы в Parse:
- Пользователи
objectId name 1 John 2 Mick 3 Nirav
-Подключение пользователя
objectId senderObjectId receiverObjectId connectionType 1 3 1 connected 2 2 1 deleted 3 2 3 accepted
(например: здесь, в таблице UserConnection с идентификатором объекта 2, связь между Миком и Джоном удалена)
Now my query is that, How to fetch user list along with the connectionType for the particular user ?
For example if the user Mick fetches the user list from Users table, result should be,
name connectionType John deleted Nirav accepted
Как получить данные как от Users, так и от UserConnection в одном запросе с помощью Parse?