Last active
October 17, 2019 22:09
-
-
Save lizzymendivil/0cca98545a21e834fff1308a808bf1b6 to your computer and use it in GitHub Desktop.
mongo-insert-with-custom-objectId
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
db.businessunits.insert( | |
[ | |
{_id: ObjectId("000000000000000000000001"), name: "lizzy", phoneNumber: "61368424", email: "[email protected]", state: "active", createdDate: new Date()}, | |
{_id: ObjectId("000000000000000000000002"), name: "melissa", phoneNumber: "63489125", email: "[email protected]", state: "active", createdDate: new Date()}, | |
{_id: ObjectId("000000000000000000000003"), name: "ericka", phoneNumber: "78996235", email: "[email protected]", state: "active", createdDate: new Date()}, | |
{_id: ObjectId("000000000000000000000004"), name: "sandra", phoneNumber: "78961254", email: "[email protected]", state: "active", createdDate: new Date()} | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment