We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
error is nill on result of save when 409 returned from arangodb
Case needed in func (col *Collection) Save(doc interface{}) error { ... case 409: return errors.New( "unique constraint violated" )
To reproduce, add a unique index on a collection. Call to add a document multiple times, the error is returned by Arango but not by the save function.
I believe this should be added to other functions as well.
The text was updated successfully, but these errors were encountered:
@samlotti , will fix it. Which version of arangodb are you using?
Sorry, something went wrong.
@diegogub ArangoDB 3.3.17
No branches or pull requests
error is nill on result of save when 409 returned from arangodb
Case needed in
func (col *Collection) Save(doc interface{}) error {
...
case 409:
return errors.New( "unique constraint violated" )
To reproduce, add a unique index on a collection.
Call to add a document multiple times, the error is returned by Arango but not by the save function.
I believe this should be added to other functions as well.
The text was updated successfully, but these errors were encountered: