Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oak_nest/modules/postgres/deps.ts

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
import * as oakNest from "https://deno.land/x/oak_nest@v3.0.1/modules/postgres/deps.ts";

Classes

Clients allow you to communicate with your PostgreSQL database and execute SQL statements asynchronously

Functions

Set background color to blue.

Set background color using 24bit rgb. color can be a number in range 0x000000 to 0xffffff or an Rgb.

Set background color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit

Set text color to blue.

Make the text bold.

Set text color to green.

Inject decorator

Make the text italic.

This function parses valid connection strings according to https://www.postgresql.org/docs/14/libpq-connect.html#LIBPQ-CONNSTRING

Set text color to red.

Set text color using 24bit rgb. color can be a number in range 0x000000 to 0xffffff or an Rgb.

Set text color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit

Set text color to yellow.

Type Aliases

The connection string must match the following URI structure. All parameters but database and user are optional