Interface DataSourceQueryConfiguration


@ConfigurationProperties("micronaut.control-panel.datasource") public interface DataSourceQueryConfiguration
Configuration for the datasource SQL console.
Since:
2.2.1
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether the datasource SQL console may run data-modifying statements (anything that is not a SELECT/WITH query).
  • Field Details

  • Method Details

    • isAllowWrites

      @Bindable(defaultValue="false") boolean isAllowWrites()
      Whether the datasource SQL console may run data-modifying statements (anything that is not a SELECT/WITH query). 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