@astrocoders/postgres-orm
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

@Astrocoders/postgres-orm ⚡️🔨

Installation

yarn add @astrocoders/postgres-orm postgres or npm install @astrocoders/postgres-orm postgres

Usage

import PostgreSQLORM from '@Astrocoders/postgres-orm'
import * as pg from 'postgres'

export const pool = new pg.Pool(config)
export const connect = () => pool.connect().then(() => console.log('Connection successful'))

const orm = createORM({ entityMapperClass, tableName, debug, client: pool, })

/@astrocoders/postgres-orm/

    Package Sidebar

    Install

    npm i @astrocoders/postgres-orm

    Weekly Downloads

    6

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    31.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • eliabejr
    • gabrielrubens
    • georgelima
    • guilhermedecampo
    • lucasbesen
    • luizmoratelli
    • medson10
    • yurijean