Skip to content

PostgreSQL

virtualWinter edited this page Aug 31, 2025 · 1 revision

PostgreSQL

The storage-postgres module provides a simple way to interact with a PostgreSQL database.

Usage

// 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();

Clone this wiki locally