public class DatabaseController
extends sirius.web.controller.BasicController
| Constructor and Description |
|---|
DatabaseController() |
| Modifier and Type | Method and Description |
|---|---|
void |
changes(sirius.web.http.WebContext ctx)
Renders the schema list view.
|
void |
changesList(sirius.web.http.WebContext ctx,
sirius.web.services.JSONStructuredOutput out)
Lists all required changes as JSON
|
void |
execute(sirius.web.http.WebContext ctx,
sirius.web.services.JSONStructuredOutput out)
Executes the given schema change.
|
void |
executeQuery(sirius.web.http.WebContext ctx,
sirius.web.services.JSONStructuredOutput out)
Executes the given sql query.
|
void |
sql(sirius.web.http.WebContext ctx)
Renders the UI to execute SQL queries.
|
public void sql(sirius.web.http.WebContext ctx)
ctx - the current requestpublic void executeQuery(sirius.web.http.WebContext ctx,
sirius.web.services.JSONStructuredOutput out)
throws SQLException
ctx - the current requestout - the JSON responseSQLException - in case of a database errorpublic void changes(sirius.web.http.WebContext ctx)
ctx - the current requestpublic void changesList(sirius.web.http.WebContext ctx,
sirius.web.services.JSONStructuredOutput out)
ctx - the current requestout - the JSON responsepublic void execute(sirius.web.http.WebContext ctx,
sirius.web.services.JSONStructuredOutput out)
ctx - the current requestout - the JSON responseCopyright © 2018. All rights reserved.