public interface MySqlConnectionMetadata
extends io.r2dbc.spi.ConnectionMetadata
ConnectionMetadata for a connection connected to a MySQL database.| Modifier and Type | Method and Description |
|---|---|
String |
getDatabaseProductName() |
String |
getDatabaseVersion() |
boolean |
isMariaDb()
Checks if the connection is in MariaDB mode.
|
String getDatabaseProductName()
Note: it should be the result of SELECT @@version_comment
getDatabaseProductName in interface io.r2dbc.spi.ConnectionMetadataString getDatabaseVersion()
getDatabaseVersion in interface io.r2dbc.spi.ConnectionMetadata5.7.30, 5.5.5-10.4.13-MariaDBboolean isMariaDb()
true if it is MariaDBCopyright © 2018–2024 asyncer.io. All rights reserved.