Page 2 of 2

multiUpdateObject Array from example

Posted: Thu Jul 27, 2017 10:28 am
by Serhii Kulibaba

There are 2 variants to update multiple objects per one request:

1) Use native methods "$set", "$unset", "$inc", etc. (they support only primitive types)
2) Use Appery.io implementation for that. (it supports all data types)
In the example you've provided "name" is a property of the column "major"

If you want to update pointer value, please use a simple request like:
{"category":{"collName":"Categories","_id":"57b6bd3ee4b07e8542fd8ae9"}}


multiUpdateObject Array from example

Posted: Thu Jul 27, 2017 12:31 pm
by Paul Medawar

Ok thanks Serhii, I'll try them out