detect_schema
Convert SQL CREATE TABLE statements or one sample JSON object into a MockHero schema that can be passed to generate_test_data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | No | SQL CREATE TABLE statement or statements. | |
| sample_json | No | Single example JSON object to infer fields from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||