Skip to content
This repository

Updated query/get example to be slightly less verbose given new syntax #20

Merged
merged 1 commit into from about 2 years ago

2 participants

Michael Hart Jed Schmidt
Michael Hart
mhart commented

No description provided.

Jed Schmidt jed merged commit 464d1d3 into from
Jed Schmidt jed closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  README.md
2  README.md
Source Rendered
@@ -20,7 +20,7 @@ var dynamo = require("dynamo")
20 20
21 21 db.get("myTable")
22 22 .query({id: "123", date: {">=": new Date - 6000 }})
23   - .get(["id", "date", "name"])
  23 + .get("id", "date", "name")
24 24 .reverse()
25 25 .fetch(function(err, data){ ... })
26 26

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.