Open DanielWeitzenfeld opened 13 years ago
That's correct, RMongo doesn't yet support document updating.
I can add it in the future. Any patch submissions are welcomed are well!
I have to say, this is a core feature that would be very useful. In practice it is not reasonable/professional to delete and insert back
I'll be happy to review and assist with any pull requests
How difficult is it to provide in your package RMongo with a simple wrapper of the java API collection.update() ? As you have already the structure to call the java API, it might be a quick fix? Basically I think people would like to be able to do any of the examples on this page: http://docs.mongodb.org/manual/reference/method/db.collection.update/
I am happy to help but I don't know well enough your package to decide where to start.
To add this fix, you'll need to add the backing function in the scala code and then the R code.
It should be mostly copy and paste with a few modifications.
To run scala tests:
mvn test
To run the R tests(run from parent directory):
`R CMD check RMongo
On Sun, Oct 27, 2013 at 11:53 PM, RockScience notifications@github.comwrote:
How difficult is it to provide in your package RMongo with a simple wrapper of the java API collection.update() ? As you have already the structure to call the java API, it might be a quick fix? Basically I think people would like to be able to do any of the examples on this page: http://www.mkyong.com/mongodb/java-mongodb-update-document/
I am happy to help but I don't know well enough your package to decide where to start.
— Reply to this email directly or view it on GitHubhttps://github.com/tc/RMongo/issues/12#issuecomment-27192202 .
Tommy Chheng
Is this still open? Is there any way to update using RMongo? Please update if anyone is working on it.
i have not be able to fix it; if you can submit a pull request, we all would appreciate it.
Am I right that RMongo currently doesn't support document updating?
Do you plan to add that functionality? Thanks!