TomboloDigitalConnector icon indicating copy to clipboard operation
TomboloDigitalConnector copied to clipboard

Save and SaveorUpdate

Open arya-hemanshu opened this issue 6 years ago • 2 comments

Description

Save and update requires to check in the database whether the entry exists or not, if exists it updates else adds, but that increase overhead and compute time as it will have to check for every single value. A temporary new method called saveWithoutUpdate has been added to overcome this but it would only work if there are no duplicate records, if there are duplicate records it will ignore it.

Need a better approach to handle this issue, so that it is fast and also keeps the same functionality at the same time.

Error log

None

arya-hemanshu avatar Mar 14 '18 17:03 arya-hemanshu

I'm a sad issue :( I would love to have tags and belong to a milestone. Please help me! :D

lorenaqendro avatar Mar 14 '18 17:03 lorenaqendro

Harmonise this behaviour for all the entities in the datastore.

lorenaqendro avatar Apr 16 '18 14:04 lorenaqendro