-
-
Notifications
You must be signed in to change notification settings - Fork 206
ParseRelation #399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
please, help me |
@LavTeamProject any update? |
No. Sorry my English |
Base on rest api
where Hope this help. |
Thank you! |
Uh oh!
There was an error while loading. Please reload this page.
version: "1.0.26"
final ParseRelation rela = dietPlan.rela;
var test = rela.getQuery();
var apiResponse = test.query().then((value) {
print(value.result);
//console log:
//[{"className":"Test1","objectId":"BHfYX9IibU","createdAt":"2020-06-27T08:05:28.397Z","updatedAt":"2020-07-04T19:40:25.045Z","title":"test1","testPF":{"__type":"Pointer","className":"Test2","objectId":"r5iLCHPMiS"},"title2":"123","title3":"123","testRL":{"__type":"Relation","className":null,"objects":null}}, {"className":"Test1","objectId":"3nIgR8jZsB","createdAt":"2020-06-27T08:56:40.729Z","updatedAt":"2020-06-27T09:29:50.750Z","title":"test2","testPF":{"__type":"Pointer","className":"Test2","objectId":"0RhHh8OXFB"},"title2":"4","title3":"1","testRL":{"__type":"Relation","className":null,"objects":null}}, {"className":"Test1","objectId":"Lu0sO0hwoO","createdAt":"2020-06-27T09:30:23.293Z","updatedAt":"2020-06-27T09:30:23.293Z","title":"test3","testPF":{"__type":"Pointer","className":"Test2","objectId":"KIZ0y1ZG5j"},"title2":"4","title3":"1","testRL":{"__type":"Relation","className":null,"objects":null}}]
});
Expected Result:
Got one BHfYX9IibU object
Actual result:
All objects of table Test1 are received.
/[{"className":"Test1","objectId":"BHfYX9IibU","createdAt":"2020-06-27T08:05:28.397Z","updatedAt":"2020-07-04T19:40:25.045Z","title":"test1","testPF":{"__type":"Pointer","className":"Test2","objectId":"r5iLCHPMiS"},"title2":"123","title3":"123","testRL":{"__type":"Relation","className":null,"objects":null}}, {"className":"Test1","objectId":"3nIgR8jZsB","createdAt":"2020-06-27T08:56:40.729Z","updatedAt":"2020-06-27T09:29:50.750Z","title":"test2","testPF":{"__type":"Pointer","className":"Test2","objectId":"0RhHh8OXFB"},"title2":"4","title3":"1","testRL":{"__type":"Relation","className":null,"objects":null}}, {"className":"Test1","objectId":"Lu0sO0hwoO","createdAt":"2020-06-27T09:30:23.293Z","updatedAt":"2020-06-27T09:30:23.293Z","title":"test3","testPF":{"__type":"Pointer","className":"Test2","objectId":"KIZ0y1ZG5j"},"title2":"4","title3":"1","testRL":{"__type":"Relation","className":null,"objects":null}}]
iOS-sdk - no this error
The text was updated successfully, but these errors were encountered: