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

WithReturnNew does not return _to & _from in edge collections #152

Open
MrDHat opened this Issue Oct 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@MrDHat

MrDHat commented Oct 2, 2018

When using WithReturnNew in the context to CreateDocuments, _to & _from values are not returned. Is this by design or am I doing something wrong?

This is what my code looks like:

        savedDocs := make([]models.SomeModel, len(docs))
	ctx := context.Background()
	retCtx := arango.WithReturnNew(ctx, savedDocs)
	_, errs, err := c.CreateDocuments(retCtx, docs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment