# Legal Toolsプラグイン

**URL:** https://meta.discourse.org/t/legal-tools-plugin/87966
**Category:** Plugin
**Tags:** pavilion, broken
**Created:** [2018 年 5 月 21 日午前 12:30 UTC](https://meta.discourse.org/t/legal-tools-plugin/87966 "2018-05-21T00:30:57Z")
**Posts on this page:** 1
**Showing post:** 25

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [2021 年 1 月 14 日午前 7:19 UTC](https://meta.discourse.org/t/legal-tools-plugin/87966/25 "2021-01-14T07:19:26Z")

</div>

> [@GuidoD](#):
>
> ユーザーの `user_id` に加えて、フラグ、苦情、スタッフからの whispers などの「管理的」な記録も含めたい場合、[Data Explorer](https://meta.discourse.org/t/32566?silent=true) を使ってデータを取得するための最適な SQL ステートメントは何でしょうか？  
> 必要であれば、このデータを別途、リクエストしたユーザーに提供することも可能です。

これは素晴らしいプラグインの問題ではありませんが、このデータを取得する方法をご存知の方がいらっしゃいますか？[Data Explorer](https://meta.discourse.org/t/32566?silent=true) は持っていますが、すべてのデータベーステーブルの構造がわからず、どのテーブルにデータがあるのか、また、データを取得するためにどのテーブルを結合する必要があるのかがわかりません。

---

_[View the full topic](https://meta.discourse.org/t/legal-tools-plugin/87966)._
