ragraf_db_schema
Edition: community Capability: db-live Operation page: db_schema
What it does
Structure of the live databases: tables, columns, types, indexes
What problem it solves
Answers which tables and columns exist before a query is written.
How to call it
ragraf_db_schema()
ragraf -p config/ragraf.yaml query db_schema
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| table | str | None | None |
| database | str | None | None |
| limit | int | 200 |
What it returns
info, tables