 
     fullQuery = [select, from, where, orderBy, limit].join " "
     
+    console.log "fullQuery: ", fullQuery
+    
     query = new Query 
       body: fullQuery
     
     query.run (err, rows) ->
       
       formattedRows = applyColumnTemplates rows, activeColumns
+      
       # ties logic, # records, second order calculations
       
       tableText = toLatexTable

      # row outfile
      outFile = opts.outfile_path + "/" + report.file + ".tex"
      fs.writeFileSync outFile, tableText, "utf8"
      process.stdout.write "."
      for row in data
        row[column.property] = column.template row[column.property]

module.exports = (opts, cb) ->
  assert (_.isObject opts), "opts must be an object in queries/individual/performance, got: #{opts}"
  # opts passed in from above could be player, location, year, month, dow
  
  fields = []
