Class: Believer::DropTable
- Defined in:
- lib/believer/drop_table.rb
Instance Attribute Summary
Attributes inherited from Command
#consistency_level, #record_class
Instance Method Summary collapse
Methods inherited from Command
#can_execute?, #clone, #command_name, #consistency, #execute, #execution_options, #execution_options=, #initialize, #override_execution_options, #query_attributes
Constructor Details
This class inherits a constructor from Believer::Command
Instance Method Details
#to_cql ⇒ Object
4 5 6 |
# File 'lib/believer/drop_table.rb', line 4 def to_cql "DROP TABLE #{record_class.table_name}" end |