mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 21:20:56 +00:00
* Add basic SQL queries template * Add namedParametersEnabled option * Move model related SQLs into Model folder * Update README template * Refresh samples
27 lines
588 B
SQL
27 lines
588 B
SQL
--
|
|
-- OpenAPI Petstore.
|
|
-- Prepared SQL queries for 'OuterComposite' definition.
|
|
--
|
|
|
|
|
|
--
|
|
-- SELECT template for table `OuterComposite`
|
|
--
|
|
SELECT `my_number`, `my_string`, `my_boolean` FROM `OuterComposite` WHERE 1;
|
|
|
|
--
|
|
-- INSERT template for table `OuterComposite`
|
|
--
|
|
INSERT INTO `OuterComposite`(`my_number`, `my_string`, `my_boolean`) VALUES (?, ?, ?);
|
|
|
|
--
|
|
-- UPDATE template for table `OuterComposite`
|
|
--
|
|
UPDATE `OuterComposite` SET `my_number` = ?, `my_string` = ?, `my_boolean` = ? WHERE 1;
|
|
|
|
--
|
|
-- DELETE template for table `OuterComposite`
|
|
--
|
|
DELETE FROM `OuterComposite` WHERE 0;
|
|
|