You can use RETURNING clause: DELETE FROM table WHERE condition IS TRUE RETURNING *; After that you just have to check number of rows returned.
確定! 回上一頁