forked from loafle/openapi-generator-original
* Add basic SQL queries template * Add namedParametersEnabled option * Move model related SQLs into Model folder * Update README template * Refresh samples
27 lines
403 B
SQL
27 lines
403 B
SQL
--
|
|
-- OpenAPI Petstore.
|
|
-- Prepared SQL queries for 'File' definition.
|
|
--
|
|
|
|
|
|
--
|
|
-- SELECT template for table `File`
|
|
--
|
|
SELECT `sourceURI` FROM `File` WHERE 1;
|
|
|
|
--
|
|
-- INSERT template for table `File`
|
|
--
|
|
INSERT INTO `File`(`sourceURI`) VALUES (?);
|
|
|
|
--
|
|
-- UPDATE template for table `File`
|
|
--
|
|
UPDATE `File` SET `sourceURI` = ? WHERE 1;
|
|
|
|
--
|
|
-- DELETE template for table `File`
|
|
--
|
|
DELETE FROM `File` WHERE 0;
|
|
|