File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ Wraps [`postgres`](https://www.npmjs.com/package/postgres) API in a [`pg`](https
9
9
10
10
``` ts
11
11
import postgres from ' postgres' ;
12
- import { createBridge } from ' postgres-bridge' ;
12
+ import { createPostgresBridge } from ' postgres-bridge' ;
13
13
14
- const PostgresBridge = createBridge (postgres );
14
+ const PostgresBridge = createPostgresBridge (postgres );
15
15
16
16
// pg.Pool Configuration
17
17
const configuration = {
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export type BridgetClient = {
71
71
release : ( ) => Promise < void > ,
72
72
} ;
73
73
74
- export const createBridge = ( postgres : typeof Postgres ) => {
74
+ export const createPostgresBridge = ( postgres : typeof Postgres ) => {
75
75
return class PostgresBridge {
76
76
public readonly poolEvents : EventEmitter ;
77
77
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ import {
6
6
import postgres from 'postgres' ;
7
7
import * as sinon from 'sinon' ;
8
8
import {
9
- createBridge ,
9
+ createPostgresBridge ,
10
10
} from '../../src/bridge' ;
11
11
12
- const PostgresBridge = createBridge ( postgres ) ;
12
+ const PostgresBridge = createPostgresBridge ( postgres ) ;
13
13
14
14
const clients = [
15
15
{
You can’t perform that action at this time.
0 commit comments