generateCode
generateCodeGenerate source code from a database table by selecting a table and a template pack. Uses current database context to produce file contents based on the template.
Instructions
Generate source code from a database table using a template pack. Uses the current context (project/connection/schema) for database connection. Returns generated file contents based on the specified template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tableName | Yes | Table name to generate code for | |
| templatePackId | Yes | Template pack ID to use for code generation | |
| schema | No | Database schema name. If omitted, uses current context schema. |