Skip to content

Commit

Permalink
Rename MysqlClients.kt, reformat the code, and remove some redundant …
Browse files Browse the repository at this point in the history
…code
  • Loading branch information
ShreckYe committed Jan 18, 2025
1 parent 26e37b2 commit 2def01b
Showing 1 changed file with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ import com.huanshankeji.exposedvertxsqlclient.vertx.sqlclient.createGenericSqlCl
import com.huanshankeji.exposedvertxsqlclient.vertx.sqlclient.createGenericSqlClientWithBuilder
import com.huanshankeji.exposedvertxsqlclient.vertx.sqlclient.createGenericSqlConnection
import io.vertx.core.Vertx
import io.vertx.sqlclient.ClientBuilder
import io.vertx.sqlclient.Pool
import io.vertx.sqlclient.SqlClient
import io.vertx.mysqlclient.MySQLBuilder
import io.vertx.mysqlclient.MySQLConnection
// import io.vertx.mysqlclient.MySQLPool --deprecated
import io.vertx.mysqlclient.MySQLConnectOptions
import io.vertx.mysqlclient.MySQLConnection
import io.vertx.mysqlclient.impl.MySQLPoolOptions
import io.vertx.sqlclient.ClientBuilder
import io.vertx.sqlclient.Pool
import io.vertx.sqlclient.PoolOptions

import io.vertx.sqlclient.SqlClient

/**
* @see createGenericSqlClient
Expand Down Expand Up @@ -80,9 +78,6 @@ fun createPgPool(
connectHandlerExtra
)

// temporarily added, maybe moved into kotlin-common
public fun io.vertx.mysqlclient.impl.MySQLPoolOptions.setUpConventionally(): kotlin.Unit { /* compiled code */ }

/**
* @see createGenericSqlClient
*/
Expand Down

0 comments on commit 2def01b

Please sign in to comment.