Reddit Comment System (hierarchical)

For those of you who looked at the Reddit source code, where exactly is the logic, where does it control the hierarchical structure of comments?

I downloaded the code, but could not find the database structure, not to mention where the comments are read and written for comments.

Does the update do a lot of comments if someone answers someone in the middle of a thread?

+4
source share
1 answer

The class definition for the comment model is in r2 / models / link.py.

+3
source

Source: https://habr.com/ru/post/1277170/


All Articles