forked from loafle/openapi-generator-original
* migrate mysql samples to oas 3.0 * update apache2 to use oas3 spec * migrate graphql samples to use oas3 spec * move avro script under bin * update protobuf samples to use openapi3 spec * add new files
27 lines
589 B
SQL
27 lines
589 B
SQL
--
|
|
-- OpenAPI Petstore.
|
|
-- Prepared SQL queries for '_special_model.name_' definition.
|
|
--
|
|
|
|
|
|
--
|
|
-- SELECT template for table `_special_model.name_`
|
|
--
|
|
SELECT `$special[property.name]` FROM `_special_model.name_` WHERE 1;
|
|
|
|
--
|
|
-- INSERT template for table `_special_model.name_`
|
|
--
|
|
INSERT INTO `_special_model.name_`(`$special[property.name]`) VALUES (?);
|
|
|
|
--
|
|
-- UPDATE template for table `_special_model.name_`
|
|
--
|
|
UPDATE `_special_model.name_` SET `$special[property.name]` = ? WHERE 1;
|
|
|
|
--
|
|
-- DELETE template for table `_special_model.name_`
|
|
--
|
|
DELETE FROM `_special_model.name_` WHERE 0;
|
|
|