UPDATE OR REPLACE `post`
   SET
    `category_id` = ?,
    `title` = ?,
    `body` = ?
 WHERE `post_id` = ?;