Package io.tesler.sqlbc.controller
Class SQLController
- java.lang.Object
-
- io.tesler.sqlbc.controller.SQLController
-
@RestController @RequestMapping("#{ (${tesler.api.use-servlet-context-path} == true) ? \'\': \'${tesler.api.path}\'}/sql") public class SQLController extends Object
-
-
Constructor Summary
Constructors Constructor Description SQLController(DataSource dataSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseDTO
execute(Map<String,Object> requestBody, PageSpecification page)
-
-
-
Constructor Detail
-
SQLController
@Autowired public SQLController(@Qualifier("primaryDS") DataSource dataSource)
-
-
Method Detail
-
execute
@RequestMapping(method=POST, value="execute") public ResponseDTO execute(@RequestBody Map<String,Object> requestBody, PageSpecification page)
-
-