syncano-node icon indicating copy to clipboard operation
syncano-node copied to clipboard

data.class.where('field', ctx.args.Id).delete() deletes non matching object

Open drozdowskimateusz opened this issue 7 years ago • 0 comments

When I used this line:

data.company_user.where('user', ctx.args.userId).delete()

And got undefined from 'ctx.args.userId', syncano delated first object from company_user class

drozdowskimateusz avatar Mar 27 '18 06:03 drozdowskimateusz