   executeQuery.sync null, session, id, sql
 
 module.exports =
-  affqisConnect: affqisConnect
+  connect: connectAffqis
   aql: aql
   disconnect: disconnect


  {session: session, id: jdbcId}

# Public: Given a session, from `affqisConnect`, run a query and return results.
# Public: Disconnect Affqis's JDBC connection and the Affqis connection itself.
#
# * `session`: {Object} with session, connection, and id keys.

#
# Returns an {Object} with session and id properties, suitable for passing to
# the also-exported `aql` function.
connectAffqis = (realm, config) ->
  realmConfig = config[realm]
  session = connect.sync null, realm, config.host, config.port
  jdbcId = connectJdbc.sync null, session,
