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

ImportDocuments #11

Merged
merged 4 commits into from
Mar 9, 2017
Merged

ImportDocuments #11

merged 4 commits into from
Mar 9, 2017

Conversation

ewoutp
Copy link
Contributor

@ewoutp ewoutp commented Mar 9, 2017

Added Collection.ImportDocuments

@ewoutp ewoutp merged commit c5ea92d into master Mar 9, 2017
@ewoutp ewoutp deleted the import branch March 9, 2017 13:41
@nelsonmestevao
Copy link

How can I make this request synchronously?

@nashikb
Copy link

nashikb commented Mar 30, 2023

How can I make this request synchronously?

Do you mean asynchronously in Go code (aka, use an errgroup) or on the server side? Fundamentally whatever is feeding the documents data needs to be synchronous with the database, so the only alternative for the latter that I can imagine is either write a separate, non-Wait()ed goroutine, write a separate synchronous service, or trigger a Foxx routine to perform the import. FWIW.

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

Successfully merging this pull request may close these issues.

3 participants