Last active
June 16, 2016 14:12
-
-
Save mozkurt27/3f8a4a7b47a042ace094e490831a2411 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
write_db = function(err, db){ | |
for(i=0; i<mydata.length; i++){ | |
collections.insert({ | |
Name: mydata[i].user.name, | |
Tweets: mydata[i].text, | |
Date: mydata[i].created_at, | |
Location: mydata[i].user.location | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment