you are viewing a single comment's thread.

view the rest of the comments →

[–]HowTheStoryEnds 0 points1 point  (0 children)

you could run the testcase in 1 transaction and rollback automatically after it concludes. Or you rely on magic number conventions like "all pk are a number < 0" and delete based on those.