Sha256: c38dd80f4569def78d39ab22cba8eff6cc60eadf369a070934851ce143fd027c

Contents?: true

Size: 228 Bytes

Versions: 5

Compression:

Stored size: 228 Bytes

Contents

Rubeus::Jdbc.depend_on("ResultSet")

module Rubeus::Extensions::Java::Sql
  module Statement
    include Rubeus::Jdbc::CloseableResource

    def query(sql, &block)
      with_close(execute_query(sql), &block)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubeus-0.1.0-java lib/rubeus/extensions/java/sql/statement.rb
rubeus-0.0.9-java lib/rubeus/extensions/java/sql/statement.rb
rubeus-0.0.8-java lib/rubeus/extensions/java/sql/statement.rb
rubeus-0.0.6-java lib/rubeus/extensions/java/sql/statement.rb
rubeus-0.0.7-java lib/rubeus/extensions/java/sql/statement.rb