Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating functionality? #12

Open
DanielWeitzenfeld opened this issue Jun 7, 2011 · 7 comments
Open

Updating functionality? #12

DanielWeitzenfeld opened this issue Jun 7, 2011 · 7 comments

Comments

@DanielWeitzenfeld
Copy link

Am I right that RMongo currently doesn't support document updating?
Do you plan to add that functionality?
Thanks!

@tc
Copy link
Owner

tc commented Jun 7, 2011

That's correct, RMongo doesn't yet support document updating.

I can add it in the future. Any patch submissions are welcomed are well!

@RockScience
Copy link

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

@tc
Copy link
Owner

tc commented Oct 27, 2013

I'll be happy to review and assist with any pull requests

@RockScience
Copy link

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.

@tc
Copy link
Owner

tc commented Oct 28, 2013

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 [email protected]:

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//issues/12#issuecomment-27192202
.

Tommy Chheng

@krdeepakio
Copy link

Is this still open? Is there any way to update using RMongo? Please update if anyone is working on it.

@tc
Copy link
Owner

tc commented Oct 7, 2015

i have not be able to fix it; if you can submit a pull request, we all would appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants