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
		
	
	
		
			529 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			529 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
--
 | 
						|
-- OpenAPI Petstore.
 | 
						|
-- Prepared SQL queries for 'BigCat' definition.
 | 
						|
--
 | 
						|
 | 
						|
 | 
						|
--
 | 
						|
-- SELECT template for table `BigCat`
 | 
						|
--
 | 
						|
SELECT `className`, `color`, `declawed`, `kind` FROM `BigCat` WHERE 1;
 | 
						|
 | 
						|
--
 | 
						|
-- INSERT template for table `BigCat`
 | 
						|
--
 | 
						|
INSERT INTO `BigCat`(`className`, `color`, `declawed`, `kind`) VALUES (?, ?, ?, ?);
 | 
						|
 | 
						|
--
 | 
						|
-- UPDATE template for table `BigCat`
 | 
						|
--
 | 
						|
UPDATE `BigCat` SET `className` = ?, `color` = ?, `declawed` = ?, `kind` = ? WHERE 1;
 | 
						|
 | 
						|
--
 | 
						|
-- DELETE template for table `BigCat`
 | 
						|
--
 | 
						|
DELETE FROM `BigCat` WHERE 0;
 | 
						|
 |