 Splitter = require './split'
 {time} = require './timing'
 pg = require './pg'
-{affqisConnect, aql} = require './affqis'
+affqis = require './affqis'
 
 # Private: Render text with a view, or return text if view isn't a thing.
 render = (text, view) ->

        else
          if @time
            result = time 'Execution Time', =>
              @client.query.sync(@client, query, params)
        @emit 'queryFinish', i, query
        console.log()
      @emit 'stepFinish', queries, view

          @client = pg.createClient host, port, db, user, pass
          @client
      else
        @connections[db] = affqis.connect(db, @config.affqis)

  # Private: Disconnect JDBC connections.
  tearDownDbClients: ->
    for db, connection of @connections
      if db == "pg"
        @client.end()
      else
        affqis.disconnect(connection)

  # Private: Setup the {Quest::adventure} function.
  #
