Created
February 17, 2016 00:57
-
-
Save fnakstad/bc48cb61ddcecf2245ab 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
import DbManager from './dbManager'; | |
let dbManager = new DbManager(process.env.DB_CONN_STRING); | |
(async function main() { | |
for(let entity of json) { | |
let { entityId } = await dbManager.insertEntity(entity); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment