Delete all ds:DataSet where ds.production or not exists(ds.production)
Delete all i:Individual where (ds)-[:has_source]-(i:Individual)<-[:depicts]-(ch:Individual) WHERE ds.production is False or not exists(ds.production) unless the pipeline is configured for staging and i.staging = True
Delete any node where n.block is True
Delete any edge where e.block is True
@Robbie1977 @matentzn - please review
Delete all ds:DataSet where ds.production or not exists(ds.production)
Delete all i:Individual where (ds)-[:has_source]-(i:Individual)<-[:depicts]-(ch:Individual) WHERE ds.production is False or not exists(ds.production) unless the pipeline is configured for staging and i.staging = True
Delete any node where n.block is True
Delete any edge where e.block is True
@Robbie1977 @matentzn - please review