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