Permalink
Browse files

copy / paste typos

  • Loading branch information...
1 parent 396ee75 commit 6e40cc71bab34461b5c6bcb243edd49b6a8862f4 @dickhardt dickhardt committed with Ryan Fitzgerald Jan 31, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -241,7 +241,7 @@ The Scan operation returns one or more items and its attributes by performing a
AttributesToGet : ["AttributeName1", "AttributeName2", "AttributeName3"]
};
- dynode.query("ExampleTable", opts, console.log);
+ dynode.scan("ExampleTable", opts, console.log);
```
<a name="batchGetItem"></a>
@@ -257,15 +257,15 @@ The BatchGetItem operation returns the attributes for multiple items from multip
dynode.batchGetItem(query, console.log);
```
-`scan` accepts any option that Amazon accepts.
+`batchGetItem` accepts any option that Amazon accepts.
``` js
var filter = {
"ExampleTable": {keys:[{hash: "someKey"}], AttributesToGet :["name", "age"]},
"AnotherTable": {keys:[{hash: "anotherKey", range: 123}], AttributesToGet :["brand", "price"]}
}
- dynode.query(filter, console.log);
+ dynode.batchGetItem(filter, console.log);
```
## Tests

0 comments on commit 6e40cc7

Please sign in to comment.