How can I create a comment on the table of a blog based on the function code of a blog when I add an article ?? Let's talk about your ideas. I mean to add the corresponding table when adding an article ??, The trigger function in the database can implement your ideas. But what I don't understand is why you didn't create a function code to comment on a blog.
When adding an article, how can I create a comment on the table of the article based on this article ?? Let's talk about your ideas.
I mean, when adding an article, add the corresponding table at the same time ??
------ Solution --------------------
The trigger function in the database can implement your ideas.
But what I don't understand is why you don't create a comment table to store the article id and comment content. When you get a comment on an article, you cannot get the comment based on the article id.
Why does an article correspond to a comment table?
------ Solution --------------------
If you do that. The database will pop up.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service