ragraf_db_relations
Edition: community Capability: db-live Operation page: db_relations
What it does
Table relations: declared and inferred from names, kept separate
What problem it solves
Gives table relations so a query is not assembled from guesses about foreign keys.
How to call it
ragraf_db_relations(table=…)
ragraf -p config/ragraf.yaml query db_relations <table>
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| table | str | required |
What it returns
The answer is assembled by the operation and described by the envelope.