Interface DataSourceQueryConfiguration
@ConfigurationProperties("micronaut.control-panel.datasource")
public interface DataSourceQueryConfiguration
Configuration for the datasource SQL console.
- Since:
- 2.2.1
-
Field Details
-
PREFIX
- See Also:
-
PROPERTY_ALLOW_WRITES
- See Also:
-
DEFAULT_ALLOW_WRITES
- See Also:
-
-
Method Details
-
isAllowWrites
@Bindable(defaultValue="false") boolean isAllowWrites()Whether the datasource SQL console may run data-modifying statements (anything that is not aSELECT/WITHquery). Disabled by default so the console is read-only; enable it only in a trusted development environment. Default: "false".- Returns:
- whether write statements are permitted
-