Problems? Is your data what you think it is? | |
PerlMonks |
Re: MongoDB removing documentby NetWallah (Canon) |
on Oct 26, 2015 at 17:19 UTC ( [id://1146005]=note: print w/replies, xml ) | Need Help?? |
The actual ID you are trying to delete has the VALUE 'something_unique' , and is of the TYPE/CLASS 'MongoDB::OID'. So - without knowing the MongoDB API, your error is passing in the TYPE, rather than the VALUE. I'd suggest: There are potentially other issues, but this should help step you past the current one. good luck. The best defense against logic is ignorance.
In Section
Seekers of Perl Wisdom
|
|