Data explorer query: find posts without replies

Great! The code is working.

But when I’ve tested it, I found that results also contain posts from users that should be excluded. On our forum the moderation function is done by members of specific groups.

Can we exclude in the query posts from users belonging to some groups?

I’ve checked .json file of the topic page and found that it tracks in a visible form only these user details:

  • “moderator”
  • “admin”
  • “staff”
  • primary_group_name (is not set on our forum, because moderators can belong to different groups)