move type conversion related code under sub-folder

This commit is contained in:
brianc 2013-03-06 08:57:38 -06:00
parent b58ae9e7f7
commit 37bb13fc0c
8 changed files with 5 additions and 6 deletions

View File

@ -3,7 +3,7 @@ var util = require('util');
var Client = require(__dirname+'/client');
var defaults = require(__dirname + '/defaults');
var pool = require(__dirname + '/pool');
var types = require(__dirname + '/types');
var types = require(__dirname + '/types/');
var Connection = require(__dirname + '/connection');
var PG = function(clientConstructor) {

View File

@ -18,7 +18,6 @@ try {
}
var Connection = binding.Connection;
var types = require(__dirname + "/../types");
var NativeQuery = require(__dirname + '/query');
for(var k in EventEmitter.prototype) {

View File

@ -1,7 +1,7 @@
var EventEmitter = require('events').EventEmitter;
var util = require('util');
var types = require(__dirname + '/../types');
var types = require(__dirname + '/../types/');
var utils = require(__dirname + '/../utils');
var Result = require(__dirname + '/../result');

View File

@ -2,7 +2,7 @@ var EventEmitter = require('events').EventEmitter;
var util = require('util');
var Result = require(__dirname + '/result');
var Types = require(__dirname + '/types');
var Types = require(__dirname + '/types/');
var utils = require(__dirname + '/utils');
var Query = function(config, values, callback) {

View File

@ -1,5 +1,5 @@
var textParsers = require(__dirname + "/textParsers"),
binaryParsers = require(__dirname + "/binaryParsers");
var textParsers = require(__dirname + '/textParsers'),
binaryParsers = require(__dirname + '/binaryParsers');
var typeParsers = {
text: {},