Swift 解析:selectKeys方法不起作用

Swift 解析:selectKeys方法不起作用,swift,parse-platform,Swift,Parse Platform,我只想从Parse中检索某些列。但它会下载整个对象: let usersQuery = PFQuery(className: "_User") usersQuery.whereKey("userId", containedIn: self.memberIds!) // Array of Strings containing the userIds usersQuery.selectKeys(["email"])

我只想从Parse中检索某些列。但它会下载整个对象:

            let usersQuery = PFQuery(className: "_User")
            usersQuery.whereKey("userId", containedIn: self.memberIds!) // Array of Strings containing the userIds
            usersQuery.selectKeys(["email"])
            usersQuery.findObjectsInBackgroundWithBlock({ (objects: [PFObject]?, error: NSError?) -> Void in
                if error != nil {
                    print(error)
                } else if let users = objects as? [PFUser] {

                    print("objects: \(users)")

                    // prints whole object, not only "email" field
                }
            })
输出:

objects: [<PFUser: 0x7fb1095a7270, objectId: 9Ld9vRPoLZ, localId: (null)> {
email = "iphone5s@mail.com";
fullname = "iPhone 5S";
// ... other fields

}]
对象:[{
电子邮件=”iphone5s@mail.com";
fullname=“iphone5s”;
//……其他领域
}]

它到底打印什么?PFUser对象具有所有字段——它们是否已设置,或者您是否获得了一组空白和零?请参阅更新的问题。
。。。其他字段
一堆零或真实数据?真实数据。parse.com上的空字段无法下载。有人知道吗?我在另一个班上试过。这是非常令人惊讶的,因为我想我以前在它工作的地方试过了。它到底打印了什么?PFUser对象具有所有字段——它们是否已设置,或者您是否获得了一组空白和零?请参阅更新的问题。
。。。其他字段
一堆零或真实数据?真实数据。parse.com上的空字段无法下载。有人知道吗?我在另一个班上试过。这是非常令人惊讶的,因为我想我已经尝试了一段时间前,它的工作。