What is the best practice for deleting an object from a runtime datasource?
Data connector, selecting in database connected source, running service that deletes object in context? Plenty of ways to do it, but feels like something that should be streamlined
Hope everyone has/had a great summer!
1 Like
Hi!
I guess the use case is that you have an object that is only read into runtime only data source in your App. And you want to delete that object from the database (or a set of objects in that runtime data source)?
As you mention, there are a few ways to to it - but technically you may only delete data from the database using a database connected data source, or a data connector data source.
In my opinion: if the only reason for having a database connected data source is for allowing for object deletion from the database, a data connector data source is the best option! Data connector data sources have no performance impact, as they do not hold data and are never “re-evaluated and calculated”.
1 Like