Created
June 10, 2017 20:27
-
-
Save patarkf/aaafb539af21981b1643ef4a55b157ac 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) { | |
for (let post of posts) { | |
await db.insert(post); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment