datamodel.get_row_count
datamodel_get_row_countCount rows per table in a data model, returning table names with row counts and a total. Use to assess data volumes or verify model completeness.
Instructions
Retrieve the row count for each table in a specific data model. Resolves the data model's tables, counts rows per table, and returns the results in a flat row-based structure suitable for tabular representation.
Returns: list[dict[str, Any]] | dict[str, Any] List of dictionaries, each with "table_name" and "row_count", plus a final entry with the total row count. On failure, returns the standard ``{"ok": False, "error": "...", …
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datamodel_name | Yes | Name of the data model. |