Method: Cql::Model::Query::SelectStatement#execute
- Defined in:
- lib/cql/model/query/select_statement.rb
#execute {|row| ... } ⇒ true Also known as: each_row
Execute this SELECT statement on the CQL client connection and yield each row of the result set as a raw-data Hash.
123 124 125 126 127 |
# File 'lib/cql/model/query/select_statement.rb', line 123 def execute(&block) @client.execute(to_s).each_row(&block).size true end |