-
-
Save ayatmaulana/d980af5d4a49cba2fe0f678ff001c374 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// create object person | |
var person = { | |
"name": "John Doe", | |
"city": "Jakarta", | |
"work": "TADA", | |
"position": "Software Engineer", | |
} | |
// store to pouchdb | |
db.put(person) | |
.then(success => ...) | |
.catch(error => ...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment