Closed marcoriesco closed 9 years ago
I'm sorry I don't understand the issue.
Please describe your setup, your code and what you are trying to achieve.
If you can provide a link to a zip containing an example I'll have a lot at if for you.
I am closing this as the referenced Stack Overflow page no longer exists. If you continue to have the issue please reopen it.
The problem persists, dont update, send me a response with success, but in mongodb, nothing changed
If you can give me more information I'll have a look.
How are you running mongdb-rest? What config are you using?
Please give me an example or a URL that you are using to update the database.
I am using OSX 10.10.5.
I've tried all kinds of code to update and all to no success.
$scope.updateItem = function(){
$scope.item.put().then(function(res){
//$scope.item._etag.$oid = res._etag;
$scope.loadItem();
toast.msgToast($scope.section+ ' #' +$scope.item._id.$oid+ ' ....Atualizado!');
});
};
I am unable to update any field of my project , since moving to MongoDB , I'm using server mongodb-rest REST API.
My function send and receive data return , but do not write in mongodb database .
I would like to help on this.
I using Restangular, and my code for get and update is:
};