Module: arpen/services/postgres

Postgres service. Requires 'pg' module.

Classes

PostgresClient
Postgres

Type Definitions


PostgresTransaction(rollback)

Transaction function
Parameters:
Name Type Description
rollback function Calling this function will immediately rollback the transaction, transaction promise will resolve to this function argument
Returns:
Returns promise resolving to transaction result
Type
Promise