table_usage
版本: community ragraf_table_usage
谁读、谁写这张表(U4, U5)
参数
| 名称 | 类型 | 默认值 |
|---|---|---|
| table | str | 必填 |
| limit | int | 200 |
| mode | str | 'all' |
调用示例
ragraf -p config/ragraf.yaml query table_usage <table>
尖括号表示必填参数;默认值可以不传。
返回什么
read_count, references, table, table_in_schema, unresolved_tables, write_count
何时拒绝
空结果是退出码 0 且 found=false,不是错误。只有当前无法执行时才返回码 3:例如 capability 不是 full 时的 slice。原因总写在 note 字段里。