you just want to find out the ids of the rows it deleted? I'm pretty sure there's not a function that can tell you this...you could write one pretty easily though, just pass the where clause as an argument and then select against it, throw the id's into an array, then delete the rows and return the array...
good thinking detective, i shall report back when i have finished my questioning of the suspects and tell you wether or not they can be charged with the known crime.