OptionalnameOptionalparamsInput/output parameters
OptionalbodyThe SQL body of the procedure (everything inside BEGIN...END or $$...$$). If omitted, the generated DDL will have an empty body placeholder.
OptionaldialectTarget dialect. Controls the DDL syntax that is generated. One of: 'mysql' | 'mariadb' | 'postgres' | 'sqlite' Defaults to 'mysql'.
OptionalschemaOptional schema prefix, e.g. 'public'
OptionalreplaceIf true, generates CREATE OR REPLACE PROCEDURE (Postgres) or DROP PROCEDURE IF EXISTS + CREATE PROCEDURE (MySQL). Default: false.
The name of the stored procedure in the database. Defaults to the method name if not provided.