Discourse内でどこかを読んだのですが、今は見つけられません。SQLクエリを使って有用な指標や静的データを作成する投稿です…いくつかあるので、それを使いたいのですが…
ご教示いただけますでしょうか…
よろしくお願いいたします。
Discourse内でどこかを読んだのですが、今は見つけられません。SQLクエリを使って有用な指標や静的データを作成する投稿です…いくつかあるので、それを使いたいのですが…
ご教示いただけますでしょうか…
よろしくお願いいたします。
It is possible to enter the ruby console and run ActiveRecord queries, if you feel more comfortable doing that.
But IMHO, the best way is to use the Data Explorer plugin.
Some knowledge of the database architecture is still needed, especially for complex queries. But many (IMHO, most) times it is intuitive. eg.
it is clear that the posts table’s posts.topic_id field references the topics table’s topics.id field.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.