I have one table called "category", and another table called "post". When a new post is inserted, I want to increment "count" (an attribute of category) of the appropriate category.
Unfortunately, I don't know how to access the post object right after it is inserted to find out which category was entered in order to increment the approach category entry. Can someone show me how to do this? Thanks.