ragraf_table_usage
版本: community 能力: schema 操作页面: table_usage
做什么
谁读、谁写这张表(U4, U5)
解决什么问题
在改动表结构之前,看哪些代码在用它。
如何调用
ragraf_table_usage(table=…)
ragraf -p config/ragraf.yaml query table_usage <table>
省略号处是代理传入的值;可选参数可以不传。
参数
| 名称 | 类型 | 默认值 |
|---|---|---|
| table | str | 必填 |
| limit | int | 200 |
| mode | str | 'all' |
返回什么
read_count, references, table, table_in_schema, unresolved_tables, write_count