Last active
July 8, 2017 17:00
-
-
Save mattn9x/7f095dcbe5ff82a737bf95a4eaf392a3 to your computer and use it in GitHub Desktop.
init data test
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
use phone_solution | |
db.people.insert({'name': 'ThuyNgan', 'age': 24}); | |
db.people.insert({'name': 'NguyenManh', 'age': 24}); | |
db.work.insert({'title': 'Travel agent', 'location': 'HaNoi'}); | |
db.work.insert({'title': 'It Develop', 'location': 'HaNoi'}); | |
use company | |
db.users.insert({'name': 'admin_company', address: 'GiaLam'}); | |
db.users.insert({'name': 'employee', address: 'VietNam'}); | |
user demo | |
db.chat.insert({'message': 'xin chao blog nguyenmanh'}); | |
db.chat.insert({'message': 'xin chao the gioi'}); | |
db.warning.insert({'error_message': 'Loi that roi'}); | |
db.warning.insert({'error_message': 'Khong hieu sao lại loi'}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment