Vikteur
(Viktor)
Novembro 16, 2022, 5:16pm
1
Olá!
Estou procurando uma maneira de mostrar todas as postagens de membros não administradores que ainda não receberam nenhuma resposta. Existe alguma maneira de fazer isso?
ondrej
Novembro 16, 2022, 6:52pm
2
Algo assim?
Following the topic: How to find topics without a reply from someone other than the topic owner?
I created this query, but in my case there is a problem.
PG::UndefinedTable: ERROR: missing FROM-clause entry for table "t"
LINE 31: AND t.category_id = ANY ('{48,23}'::int[])
Here is the query’ code:
-- [params]
-- int :months_ago = 1
WITH query_period as (
SELECT
date_trunc('month', CURRENT_DATE) - INTERVAL ':months_ago months' as period_start,
date_trunc('month', CURRE…
Eu recomendaria este plugin
Summary
Discourse Data Explorer allows you to make SQL queries against your live database, allowing for up-to-the-minute stats reporting.
Install Guide
This plugin is bundled with Discourse core. There is no need to install the plugin separately.
If you’re looking for examples or support for any custom queries, you can find lots of topics in our Data & reporting category under the sql-query tag. If there’s not one to suit your pa…
2 curtidas
Benjamin_D
(Benjamin Decotte)
Novembro 16, 2022, 7:06pm
3
search?q=max_posts%3A1 é possível, mas infelizmente não parece aceitar @somegroup como parâmetro, apenas @anyuser.
1 curtida
system
(system)
Fechado
Dezembro 16, 2022, 7:06pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.