2.0.0 • Published 1 year ago

omni-postgres v2.0.0

Weekly downloads
-
License
LGPL-3.0
Repository
gitlab
Last release
1 year ago

Omni ORM - PostgreSQL


OmniORM PostgreSQL plugin

npm.io

WARNING: It was meant to be used with Typescript. While it is possible to use with plain JS it is not advised and will be hard to use.

For Typescript, you need to have these two options turned on in tsconfig.json:

{
	"compilerOptions": {
		"emitDecoratorMetadata": true,
		"experimentalDecorators": true
	}
}

Depends on omni-orm, pg.

npm

WARNING: API is not yet final

Requirements

Technically it should have no requirements.


Installation

For yarn:

yarn add omni-postgres

For npm:

npm i omni-postgres

Docs


Imports:

// ES6 JS/Typescript style
import { PostgresRepository } from 'omni-postgres';

// require
const { PostgresRepository } = require('omni-postgres');
2.0.0

1 year ago

1.5.4

2 years ago

1.5.3

2 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago