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