File tree 12 files changed +96
-0
lines changed
12 files changed +96
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var crypto = require ( 'crypto' ) ;
2
10
var EventEmitter = require ( 'events' ) . EventEmitter ;
3
11
var util = require ( 'util' ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var url = require ( 'url' ) ;
2
10
var dns = require ( 'dns' ) ;
3
11
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var net = require ( 'net' ) ;
2
10
var EventEmitter = require ( 'events' ) . EventEmitter ;
3
11
var util = require ( 'util' ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var defaults = module . exports = {
2
10
// database host. defaults to localhost
3
11
host : 'localhost' ,
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var EventEmitter = require ( 'events' ) . EventEmitter ;
2
10
var util = require ( 'util' ) ;
3
11
var Client = require ( './client' ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var Native = require ( 'pg-native' ) ;
2
10
var TypeOverrides = require ( '../type-overrides' ) ;
3
11
var semver = require ( 'semver' ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var EventEmitter = require ( 'events' ) . EventEmitter ;
2
10
var util = require ( 'util' ) ;
3
11
var utils = require ( '../utils' ) ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var NativeResult = module . exports = function ( pq ) {
2
10
this . command = null ;
3
11
this . rowCount = 0 ;
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var EventEmitter = require ( 'events' ) . EventEmitter ;
2
10
var util = require ( 'util' ) ;
3
11
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var types = require ( 'pg-types' ) ;
2
10
3
11
//result object returned from query
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var types = require ( 'pg-types' ) ;
2
10
3
11
function TypeOverrides ( userTypes ) {
Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * README.md file in the root directory of this source tree.
7
+ */
8
+
1
9
var defaults = require ( './defaults' ) ;
2
10
3
11
// convert a JS array to a postgres array literal
You can’t perform that action at this time.
0 commit comments