在讀寫時使用Parse.Object的object.attributes屬性是否安全?使用Parse.Object.attributes安全嗎?
我知道它說,在文檔中使用Parse.Object是通過
object.set("myprop",0)
和
object.get("myprop")
的方式,但我可以做
object.attributes.myprop = 0
和
var x = object.attributes.myprop;
將在調用object.save()時工作嗎?