Created
June 10, 2017 20:29
-
-
Save patarkf/41e7444c7fcc605ded04d8808f16fd7a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const posts = [{}, {}, {}]; | |
async function insertPosts(posts) { | |
posts.forEach(post => { | |
await db.insert(post); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment