Yuriy Belenko 1c51d4138e
[mysql] Add basic SQL queries (#5757)
* Add basic SQL queries template

* Add namedParametersEnabled option

* Move model related SQLs into Model folder

* Update README template

* Refresh samples
2020-04-12 16:49:50 +08:00

27 lines
630 B
SQL

--
-- OpenAPI Petstore.
-- Prepared SQL queries for 'ArrayTest' definition.
--
--
-- SELECT template for table `ArrayTest`
--
SELECT `array_of_string`, `array_array_of_integer`, `array_array_of_model` FROM `ArrayTest` WHERE 1;
--
-- INSERT template for table `ArrayTest`
--
INSERT INTO `ArrayTest`(`array_of_string`, `array_array_of_integer`, `array_array_of_model`) VALUES (?, ?, ?);
--
-- UPDATE template for table `ArrayTest`
--
UPDATE `ArrayTest` SET `array_of_string` = ?, `array_array_of_integer` = ?, `array_array_of_model` = ? WHERE 1;
--
-- DELETE template for table `ArrayTest`
--
DELETE FROM `ArrayTest` WHERE 0;