Skip to content

Support keepNull on insert-update #374

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

Closed
rashtao opened this issue Mar 18, 2021 · 3 comments
Closed

Support keepNull on insert-update #374

rashtao opened this issue Mar 18, 2021 · 3 comments
Assignees
Milestone

Comments

@rashtao
Copy link
Collaborator

rashtao commented Mar 18, 2021

Implement support for specifying keepNull option in DocumentCreateOptions, which is used by both:

  • ArangoCollection.insertDocument
  • ArangoCollection.insertDocuments

API doc: https://www.arangodb.com/docs/stable/http/document-working-with-documents.html#create-document

See #373

@rashtao rashtao self-assigned this Mar 18, 2021
@rashtao
Copy link
Collaborator Author

rashtao commented Jan 20, 2023

@rashtao rashtao added this to the 7.0 milestone Mar 21, 2023
@rashtao
Copy link
Collaborator Author

rashtao commented Mar 21, 2023

Since vertion 7.0.0, keepNull behavior can be specified using Jackson API by:

  • adding annotations on related fields, or
  • registering custom serializers

see https://github.com/arangodb/arangodb-java-driver/blob/v7/docs/v7_java-reference-serialization.md.

https://github.com/arangodb/arangodb-java-driver/releases/tag/v7.0.0-RC.4

@rashtao
Copy link
Collaborator Author

rashtao commented Apr 20, 2023

Closing as fixed in version 7.0.0.

keepNull behavior can be specified using Jackson API by:

  • adding annotations on related fields, or
  • registering custom serializers

see https://github.com/arangodb/docs/blob/113c2351a0153171adfc74c313454af6bb5c7f08/drivers/java-reference-serialization.md.

@rashtao rashtao closed this as completed Apr 20, 2023
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

1 participant