Skip to content

Instantly share code, notes, and snippets.

@bcoe
Created November 23, 2010 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bcoe/711298 to your computer and use it in GitHub Desktop.
Save bcoe/711298 to your computer and use it in GitHub Desktop.
new Person().load({
keys: 'age',
startkey: 28,
endkey: 50
}, function(error, people) {
for (var i = 0; i < people.length; i++) {
people[i].sayName();
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment