Skip to content
do- edited this page Apr 27, 2025 · 48 revisions

doix-db-postgresql is a doix-db plugin for the PostgreSQL DBMS.

tl;dr

Add a DbPoolPg instance to your Application's pools.

That's it. Now, for a pool named 'db' (like one in our example), this.db will appear to be a corresponding DbClient:

const one = await this.db.getscalar (`SELECT 1`)

Reference

Clone this wiki locally