var Step = require('step') var PSQL = require(global.settings.app_root + '/app/models/psql') function pg(id) { this.id = id; } pg.prototype = { getQuery: function(sql, options) { return sql; }, getContentType: function(){ return this._contentType; }, getFileExtension: function() { return this.id; } }; pg.prototype.handleQueryRow = function(row, result) { //console.log("Got query row, row is "); console.dir(row); //console.log("opts are: "); console.dir(this.opts); var sf = this.opts.skipfields; if ( sf.length ){ for ( var j=0; j