仅获取指针 ID,使用 Parse

Get Pointer Id only , using Parse

这个returns一个对象。我只是想得到的ID。我会用它来查询

 var q= new Parse.Query("Comments");
q.find({
    success: function (results) {
        for (var i=0; i< results.length;i++) {
            console.log(results[i].get("user_id"));
   } 
   });

我实际上是通过探索发现的,我以前只访问id

results[i].get("user_id").id