Skip to content

PostgreSQL

The db.postgres module can open a connection to PostgreSQL databases

  • typedb.postgres
  • params:
    • url: the connection URL for the PostgreSQL database

This module implements the DatabaseModule interface.

Opens a connection to a PostgreSQL database

- id: myDatabase
type: db.postgres
params:
url: "postgresql://user:password@localhost:5432/mydatabase"