Използвам Parse cloud като бекенд в моето приложение. Следват таблиците в Parse,
- Потребители
objectId name 1 John 2 Mick 3 Nirav
- UserConnection
objectId senderObjectId receiverObjectId connectionType 1 3 1 connected 2 2 1 deleted 3 2 3 accepted
(напр.: Тук в таблицата UserConnection при objectId 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?