1.0.7 • Published 6 years ago

@astrocoders/postgres-orm v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

@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, })
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago