-
Notifications
You must be signed in to change notification settings - Fork 0
PostgreSQL
virtualWinter edited this page Aug 31, 2025
·
1 revision
The storage-postgres module provides a simple way to interact with a PostgreSQL database.
// Initialize the PostgreSQL connection
Postgres postgres = new Postgres("localhost", 5432, "mydatabase", "user", "password", true);
postgres.init();
// Get a connection
Connection connection = postgres.getConnection();
// ... perform operations with the connection
// Close the connection
postgres.end();© 2025 CatMC Network