You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var t=new Parse.Object('test')
t.set('test',{name:1,age:2})
t.save()
t.increment('test.name',1)
t.save()
when i creat a cloudFunction liks this,
Parse.Cloud.beforeSave('test',function(req){
// console.log(req.triggerName)
// console.log(req.object.toJSON())
})
t.increment('test.name',1) is not work,
Steps to reproduce
Expected Results
Actual Outcome
Environment Setup
Server
parse-server version (Be specific! Don't say 'latest'.) : [FILL THIS OUT] 3.10
Operating System: [FILL THIS OUT] windows
Hardware: [FILL THIS OUT]
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): [FILL THIS OUT] Localhost
Database
MongoDB version: [FILL THIS OUT] 3.4?
Storage engine: [FILL THIS OUT]
Hardware: [FILL THIS OUT] 4C8G
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): [FILL THIS OUT] remote server
Logs/Trace
The text was updated successfully, but these errors were encountered:
lybaiyy123
changed the title
increment
increment('test.name',1) with Parse.Cloud.beforeSave is not work
Jan 22, 2020
Issue Description
var t=new Parse.Object('test')
t.set('test',{name:1,age:2})
t.save()
t.increment('test.name',1)
t.save()
when i creat a cloudFunction liks this,
Parse.Cloud.beforeSave('test',function(req){
// console.log(req.triggerName)
// console.log(req.object.toJSON())
})
t.increment('test.name',1) is not work,
Steps to reproduce
Expected Results
Actual Outcome
Environment Setup
Server
Database
Logs/Trace
The text was updated successfully, but these errors were encountered: