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

refreshManually does not insert docs in view if they don't exist yet #5

Open
macrozone opened this issue Apr 27, 2017 · 1 comment
Open

Comments

@macrozone
Copy link

because of this issue #4

i need to manually refresh docs if the source collection has changed. However if the doc does not exist in the target view collection, it does not get inserted, because it asumes that the doc is already there.

Solution would be to do an upsert there instead of an update.

@thebarty
Copy link
Owner

@macrozone: Thanks a lot for your feedback! I am really out of time right now. If you create a pull-request for your issues I'd be happy to merge them in! :-)

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

No branches or pull requests

2 participants