Once a document is saved in collection, there is no possiblity to nullify any given field, as it uses updateDocument method internally, instead of replaceDocument.
Unfortunately, I have to delete such record first, to update it, which is not a satisfactory solution ;)
And, I believe there should be dirty checking of values in any entity, but replaceDocument will also work.
JNoSQL Version
1.0.2
Steps To Reproduce
Save any given document with example values
Try to update it with some nullified fields.
Expected Results
Save method should use replaceDocumento, not updateDocument from arango driver
Which JNoSQL project the issue refers to?
JNoSQL Databases
Bug description
Once a document is saved in collection, there is no possiblity to nullify any given field, as it uses updateDocument method internally, instead of replaceDocument.
Unfortunately, I have to delete such record first, to update it, which is not a satisfactory solution ;)
And, I believe there should be dirty checking of values in any entity, but replaceDocument will also work.
JNoSQL Version
1.0.2
Steps To Reproduce
Expected Results
Save method should use replaceDocumento, not updateDocument from arango driver
Code example, screenshot, or link to a repository
No response