Class: Cassanity::ArgumentGenerators::IndexDrop
- Inherits:
-
Object
- Object
- Cassanity::ArgumentGenerators::IndexDrop
- Defined in:
- lib/cassanity/argument_generators/index_drop.rb
Instance Method Summary collapse
-
#call(args = {}) ⇒ Object
Internal.
Instance Method Details
#call(args = {}) ⇒ Object
Internal
6 7 8 9 10 |
# File 'lib/cassanity/argument_generators/index_drop.rb', line 6 def call(args = {}) name = args.fetch(:name) cql = "DROP INDEX #{name}" [cql] end |