add such support:User.delete(User.id==Post.user_id)
delete from one table,where in multiple tables.
this will only delete rows from user;
the SQL will be:delete user from user,post where user.id=post.user_id