Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding delete table api info to docs. closes #3

  • Loading branch information...
commit a678302176ee262f47eb5fc26449acac4653ba4d 1 parent b88bd28
@ryanfitz ryanfitz authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 README.md
View
11 README.md
@@ -48,6 +48,7 @@ Callbacks return (error, [results], meta) where results are the returned data an
* [List Tables](#listTables)
* [Describe Table](#describeTable)
* [updateTable](#updateTable)
+* [deleteTable](#deleteTable)
* [Put Item](#putItem)
* [Update Item](#updateItem)
* [Get Item](#getItem)
@@ -117,6 +118,15 @@ Updates the provisioned throughput for the given table. For more info see [here]
dynode.updateTable("ExampleTable", {read: 15, write: 10}, console.log);
```
+<a name="deleteTable"></a>
+## Delete Table
+
+Deletes a table and all of its items. For more info see [here][deleteTableDocs]
+
+``` js
+ dynode.deleteTable("ExampleTable", console.log);
+```
+
<a name="putItem"></a>
## Put Item
Creates a new item, or replaces an old item with a new item (including all the attributes). For more info see [here][putItemDocs]
@@ -286,6 +296,7 @@ All tests are written with [mocha][0] and should be run with make:
[listTablesDocs]: http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/API_ListTables.html
[describeTableDocs]: http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/API_DescribeTables.html
[updateTableDocs]: http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/API_UpdateTable.html
+[deleteTableDocs]: http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/API_DeleteTable.html
[putItemDocs]: http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/API_PutItem.html
[updateItemDocs]: http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/API_UpdateItem.html
[getItemDocs]: http://docs.amazonwebservices.com/amazondynamodb/latest/developerguide/API_GetItem.html
Please sign in to comment.
Something went wrong with that request. Please try again.