Class: ArrowFlightSQL::Client
- Inherits:
-
Object
- Object
- ArrowFlightSQL::Client
- Defined in:
- lib/arrow-flight-sql/client.rb
Instance Method Summary collapse
Instance Method Details
#prepare(query, options = nil) ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/arrow-flight-sql/client.rb', line 21 def prepare(query, =nil) statement = prepare_raw(query, ) if block_given? begin yield(statement) ensure statement.close() unless statement.closed? end else statement end end |
#prepare_raw ⇒ Object
20 |
# File 'lib/arrow-flight-sql/client.rb', line 20 alias_method :prepare_raw, :prepare |