Resolves: #1370
This PR updates the following functions to implement transaction handling:
removeStigsFromAsset
removeStigFromAsset
deleteAsset
deleteAssets
Also, attachAssetsToStig was edited to call pruneCollectionRevMap prior to updateDefaultRev.
note: removeStigsFromAsset will never return data as it is. If we want to return the stigs deleted the call to queryStigsByAsset should be made before stig_asset_map deleting occurs.
Resolves: #1370 This PR updates the following functions to implement transaction handling:
Also, attachAssetsToStig was edited to call pruneCollectionRevMap prior to updateDefaultRev.
note: removeStigsFromAsset will never return data as it is. If we want to return the stigs deleted the call to queryStigsByAsset should be made before stig_asset_map deleting occurs.