ng2-postgresql-procedures

0.1.1 • Public • Published

npm version

ng2-postgresql-procedures

Direct access to postgresql procedures - requires PHP PgProcedures package.

Usage

$ npm install ng2-postgresql-procedures --save

angular-cli-build.js

    vendorNpmFiles: [
      [...],
      'ng2-postgresql-procedures/**/*.+(js|js.map)'
    ]

src/system-config.ts

const map: any = {
  [...];
  'ng2-postgresql-procedures': 'vendor/ng2-postgresql-procedures',
};

/** User packages configuration. */
const packages: any = {
  'vendor/ng2-postgresql-procedures': { defaultExtension: 'js'}
};

main.js

const PGPROC_PROVIDERS = [
  provide(PgServiceConfig, {
    useValue: {
      pgPath: '/pg',
      prmTokenName: 'prm_token'
    }
  }),
  PgService,
  UserService
];

bootstrap(VariationBaseAppComponent, [PGPROC_PROVIDERS]);

Readme

Keywords

none

Package Sidebar

Install

npm i ng2-postgresql-procedures

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • actimeo