categoryRead from category table based on type