added raw sql part support for delete method