CRUD application without delete Code Answer

Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of CRUD application without delete without wasting too much if your time.

The question is published on by Tutorial Guruji team.

Good day

I have an application that creates, reads and updates records but does not delete any records. This is because the client does not want any of the records to be deleted. Do you think this is an acceptable software design?

Thanks in advance

Answer

I think we still need Delete because there will be some records we don’t want to see anymore. Delete here is just about logical remove(Soft Delete), we set Deleted field is true. The deleted record still resides in database and we can always retrieve it later.

It is a common design as storage these days is no longer a big problem.

We are here to answer your question about CRUD application without delete - If you find the proper solution, please don't forgot to share this with your team members.

Related Posts

Tutorial Guruji