0
내가 다른 것들 사이에 출력 코드구문 분석은 Node.js를
exports.getProfile = function(req, res) {
var Profile = Parse.Object.extend("Profile");
var query = new Parse.Query(Profile);
query.equalTo("username", "philfishbein");
query.find({
success: function(object) {
console.log(object);
},
error: function(error) {
console.log("error!");
}
});
}
와 구문 분석 쿼리를 작성하기 위해 노력하고있어에서 JSON 하위 개체 내용을 가져 오기 :
[ { _serverData:
{ age: '17',
email: '[email protected]',
facebook: 'philfishbein',
fullname: 'Phil Fishbein',
github: 'fishbein',
languages: [Object],
location: 'New Jersey',
twitter: 'fishbein',
username: 'philfishbein',
years: '5' },
...} ]
을하지만 나는이 변경 될 때 로그 문은 object._serverData
과 같은 것으로, undefined
을 반환합니다. 내가 도대체 뭘 잘못하고있는 겁니까?