Skip to content

Commit

Permalink
Move "VertxSqlClients.kt"
Browse files Browse the repository at this point in the history
  • Loading branch information
ShreckYe committed Nov 17, 2024
1 parent dfd0d3b commit 6b1547e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import com.huanshankeji.exposedvertxsqlclient.ConnectionConfig.Socket
import com.huanshankeji.exposedvertxsqlclient.local.LocalConnectionConfig
import com.huanshankeji.exposedvertxsqlclient.postgresql.exposed.exposedDatabaseConnectPostgreSql
import com.huanshankeji.exposedvertxsqlclient.sql.selectExpression
import com.huanshankeji.exposedvertxsqlclient.vertx.sqlclient.createPgPool
import com.huanshankeji.os.isCurrentOsLinux
import com.huanshankeji.vertx.kotlin.coroutines.coroutineToFuture
import com.huanshankeji.vertx.kotlin.sqlclient.executeBatchAwaitForSqlResultSequence
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package com.huanshankeji.exposedvertxsqlclient
package com.huanshankeji.exposedvertxsqlclient.vertx.sqlclient

import com.huanshankeji.Untested
import com.huanshankeji.exposedvertxsqlclient.vertx.sqlclient.connectHandler
import com.huanshankeji.exposedvertxsqlclient.vertx.sqlclient.initConnection
import com.huanshankeji.exposedvertxsqlclient.vertx.sqlclient.setFrom
import com.huanshankeji.exposedvertxsqlclient.ConnectionConfig
import io.vertx.core.Vertx
import io.vertx.kotlin.coroutines.coAwait
import io.vertx.pgclient.PgBuilder
Expand All @@ -12,9 +10,6 @@ import io.vertx.pgclient.PgConnection
import io.vertx.pgclient.impl.PgPoolOptions
import io.vertx.sqlclient.*

// TODO move into the `vertx.sqlclient` subpackage and rename to `SqlClients.kt`


/**
* [SqlConnectOptions.cachePreparedStatements] improves performance greatly (tested on PostgreSQL) so it's enabled by default. TODO see below
*/
Expand Down

0 comments on commit 6b1547e

Please sign in to comment.