Page 2 of 2

DB Update with WHERE and clause in JS doesn't work

Posted: Tue Aug 26, 2014 11:04 pm
by Yurii Orishchuk

Hi Dmitry,

In this case you need to use code:

pre

var whereObject2 = {"nname": {"$ne":value}};
return JSON.stringify(whereObject2);

/pre

The difference between previous request in using method "get" instead of "put".

Regards.


DB Update with WHERE and clause in JS doesn't work

Posted: Wed Aug 27, 2014 7:06 am
by Dmitrij Kudrin

Ok, Thanks a lot Yurii!