Forum Discussion
1 Reply
Sort By
If you want parent of the message. Filtering by parent.id returns only direct replies or comments to the specified message. (This can be used to replicate a threaded view of messages.) Alternatively, see topic.
SELECT * FROM messages WHERE parent.id = '92'
filter by topic.id to return a list of all messages that have the specified topic as the root message in an unthreaded view. Alternatively, filter by parent.id to return only the direct replies/comments to a specified message.
SELECT * FROM messages WHERE topic.id = '255'
Related Content
- 2 years ago
- 2 years ago
- 2 years ago
- 4 years ago