success: function(user) {
// incorrect var relation = user[0].relation("RelationBuilding");
var relation = user[0].relation("RelationBuilding");
relation.query().find({
success: function(list) {
response.success(list);
},
error: function(error) {
response.error(error);
}
});
};
沒有留言:
張貼留言