databaseVersion property

String? databaseVersion
getter/setter pair

The database engine type and version.

The databaseVersion field cannot be changed after instance creation. MySQL instances: MYSQL_8_0, MYSQL_5_7 (default), or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13 (default). SQL Server instances: SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, or SQLSERVER_2019_WEB, SQLSERVER_2017_STANDARD (default), SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, or SQLSERVER_2017_WEB. Possible string values are:

  • "SQL_DATABASE_VERSION_UNSPECIFIED" : This is an unknown database version.
  • "MYSQL_5_1" : The database version is MySQL 5.1.
  • "MYSQL_5_5" : The database version is MySQL 5.5.
  • "MYSQL_5_6" : The database version is MySQL 5.6.
  • "MYSQL_5_7" : The database version is MySQL 5.7.
  • "POSTGRES_9_6" : The database version is PostgreSQL 9.6.
  • "POSTGRES_11" : The database version is PostgreSQL 11.
  • "SQLSERVER_2017_STANDARD" : The database version is SQL Server 2017 Standard.
  • "SQLSERVER_2017_ENTERPRISE" : The database version is SQL Server 2017 Enterprise.
  • "SQLSERVER_2017_EXPRESS" : The database version is SQL Server 2017 Express.
  • "SQLSERVER_2017_WEB" : The database version is SQL Server 2017 Web.
  • "POSTGRES_10" : The database version is PostgreSQL 10.
  • "POSTGRES_12" : The database version is PostgreSQL 12.
  • "MYSQL_8_0" : The database version is MySQL 8.
  • "POSTGRES_13" : The database version is PostgreSQL 13.
  • "SQLSERVER_2019_STANDARD" : The database version is SQL Server 2019 Standard.
  • "SQLSERVER_2019_ENTERPRISE" : The database version is SQL Server 2019 Enterprise.
  • "SQLSERVER_2019_EXPRESS" : The database version is SQL Server 2019 Express.
  • "SQLSERVER_2019_WEB" : The database version is SQL Server 2019 Web.

Implementation

core.String? databaseVersion;