Registry / database / vertx-pg-client

vertx-pg-client

JSON →
library5.0.12javamavenunverified

The Reactive PostgreSQL Client for Vert.x.

<dependency> <groupId>io.vertx</groupId> <artifactId>vertx-pg-client</artifactId> <version>5.0.12</version> </dependency>
INSTALL
IMPORT
SIG · VERTX-PG-CLIENT
V
vertx-pg-client
databasejavav5.0.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PgPool
io.vertx.pgclient.PgPool

Creates a PostgreSQL connection pool and executes a simple query.

import io.vertx.pgclient.PgPool; import io.vertx.core.Vertx; public class Example { public static void main(String[] args) { Vertx vertx = Vertx.vertx(); PgPool pool = PgPool.pool(vertx, new PgConnectOptions().setPort(5432).setHost("localhost").setDatabase("test").setUser("user").setPassword("password")); pool.query("SELECT 1").execute(ar -> { if (ar.succeeded()) { System.out.println("Query succeeded"); } }); } }
Debug
Known issues
breakingReactive client requires Vert.x core; ensure compatible versions.
fix
Use the same Vert.x version for all Vert.x dependencies.
affects: *
Upgrade
Version history
5.0.12latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
16
Meta
1
Amazon
1
OpenAI (training)
1
Resources
vertx-pg-client — mvn dependency:get vertx-pg-client · libregistry