ragraf_db_sample
Edition: community Capability: db-live Operation page: db_sample
What it does
Sample rows of a table: a snapshot marked with its staleness
What problem it solves
Shows table rows without personal columns: the shape of the data, not other people data.
How to call it
ragraf_db_sample(table=…)
ragraf -p config/ragraf.yaml query db_sample <table>
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| table | str | required |
| database | str | None | None |
What it returns
The answer is assembled by the operation and described by the envelope.