lib/dynamoid/adapter/aws_sdk.rb
# Deletes an entire table from DynamoDB. Only 10 tables can be in the deleting state at once,
# so if you have more this method may raise an exception.
#
# @param [String] table_name the name of the table to destroy
#
# @since 0.2.0
Deletes an entire table from DynamoDB. Only 10 tables can be in the deleting state at once,
so if you have more this method may raise an exception.
Deletes an entire table from DynamoDB . Only 10 tables can be in the deleting state at once so if you have more this method may raise an exception .
def delete_table(table_name)
        Dynamoid.logger.info "Deleting #{table_name} table. This could take a while."
        table = @@connection.tables[table_name]
        table.delete
        sleep 0.5 while table.exists? == true
      end
def delete_table ( table_name ) Dynamoid . logger . info "Deleting #{table_name} table. This could take a while." table = @@connection . tables [ table_name ] table . delete sleep 0.5 while table . exists? == true end
Deletes an entire table from DynamoDB.
Deletes an entire table from DynamoDB .
table_name
<not_specific>
<not_specific>
table_name the name of the table to destroy
table_name the name of the table to destroy
since
None