Asif
Posts: 0
Joined: Tue Aug 13, 2013 12:56 pm

how to update collection without using objectid

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

how to update collection without using objectid

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.

Asif
Posts: 0
Joined: Tue Aug 13, 2013 12:56 pm

how to update collection without using objectid

Ok Thanks Maryna

Return to “Issues”