lib/oedipus/connection.rb
def query(sql, *bind_values)
      @pool.acquire { |conn| conn.query(sql, *bind_values).first }
    end
def query(sql, *bind_values)
      @pool.acquire { |conn| conn.query(sql, *bind_values).first }
    end
Execute a single read query.

 @param [String] sql
   a single SphinxQL statement

 @param [Object...] bind_values
   values to be substituted in place of '?' in the query

 @return [Array]
   an array of Hashes containing the matched records

 Note that SphinxQL does not support prepared statements.