Class: Sneaql::Core::Commands::SneaqlRemoveRecordset
- Inherits:
-
SneaqlCommand
- Object
- SneaqlCommand
- Sneaql::Core::Commands::SneaqlRemoveRecordset
- Defined in:
- lib/sneaql_lib/core.rb
Overview
runs the query then stores the array of hashes into the recordset hash
Instance Method Summary collapse
- #action(recordset_name) ⇒ Object
-
#arg_definition ⇒ Object
argument types.
Methods inherited from SneaqlCommand
#initialize, #valid_expression?, #valid_operator?, #valid_recordset?, #valid_symbol?, #valid_variable?, #validate_args
Constructor Details
This class inherits a constructor from Sneaql::Core::SneaqlCommand
Instance Method Details
#action(recordset_name) ⇒ Object
264 265 266 267 268 269 |
# File 'lib/sneaql_lib/core.rb', line 264 def action(recordset_name) @logger.info "removing recordset #{recordset_name}" @recordset_manager.remove_recordset(recordset_name) rescue => e @exception_manager.pending_error = e end |
#arg_definition ⇒ Object
argument types
272 273 274 |
# File 'lib/sneaql_lib/core.rb', line 272 def arg_definition [:recordset] end |