Page 1 of 1

how to update collection without using objectid

Posted: Tue Mar 18, 2014 7:57 pm
by Asif

Hi,
I have to update rows of a collection, but i dont have the object id saved, instead of that i have another value of that collection. Is there a way to update the collection without using object id.


how to update collection without using objectid

Posted: Tue Mar 18, 2014 8:17 pm
by Maryna Brodina

Hello!

No, you have to know object id to update collection. You can do request to DB using "another value of that collection", retrieve _id and using that _id do an update.


how to update collection without using objectid

Posted: Tue Mar 18, 2014 8:39 pm
by Asif

Ok Thanks Maryna