* Add license comment * Delete pool.js
This commit is contained in:
parent
c35adf6f68
commit
522d62229b
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var crypto = require('crypto');
|
var crypto = require('crypto');
|
||||||
var EventEmitter = require('events').EventEmitter;
|
var EventEmitter = require('events').EventEmitter;
|
||||||
var util = require('util');
|
var util = require('util');
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var url = require('url');
|
var url = require('url');
|
||||||
var dns = require('dns');
|
var dns = require('dns');
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var net = require('net');
|
var net = require('net');
|
||||||
var EventEmitter = require('events').EventEmitter;
|
var EventEmitter = require('events').EventEmitter;
|
||||||
var util = require('util');
|
var util = require('util');
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var defaults = module.exports = {
|
var defaults = module.exports = {
|
||||||
// database host. defaults to localhost
|
// database host. defaults to localhost
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var EventEmitter = require('events').EventEmitter;
|
var EventEmitter = require('events').EventEmitter;
|
||||||
var util = require('util');
|
var util = require('util');
|
||||||
var Client = require('./client');
|
var Client = require('./client');
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var Native = require('pg-native');
|
var Native = require('pg-native');
|
||||||
var TypeOverrides = require('../type-overrides');
|
var TypeOverrides = require('../type-overrides');
|
||||||
var semver = require('semver');
|
var semver = require('semver');
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var EventEmitter = require('events').EventEmitter;
|
var EventEmitter = require('events').EventEmitter;
|
||||||
var util = require('util');
|
var util = require('util');
|
||||||
var utils = require('../utils');
|
var utils = require('../utils');
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var NativeResult = module.exports = function(pq) {
|
var NativeResult = module.exports = function(pq) {
|
||||||
this.command = null;
|
this.command = null;
|
||||||
this.rowCount = 0;
|
this.rowCount = 0;
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var EventEmitter = require('events').EventEmitter;
|
var EventEmitter = require('events').EventEmitter;
|
||||||
var util = require('util');
|
var util = require('util');
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var types = require('pg-types');
|
var types = require('pg-types');
|
||||||
|
|
||||||
//result object returned from query
|
//result object returned from query
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var types = require('pg-types');
|
var types = require('pg-types');
|
||||||
|
|
||||||
function TypeOverrides(userTypes) {
|
function TypeOverrides(userTypes) {
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) 2010-2016 Brian Carlson (brian.m.carlson@gmail.com)
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* README.md file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
var defaults = require('./defaults');
|
var defaults = require('./defaults');
|
||||||
|
|
||||||
// convert a JS array to a postgres array literal
|
// convert a JS array to a postgres array literal
|
||||||
|
Loading…
Reference in New Issue
Block a user