Sebelumnya kita sudah menginstall packages yang dibutuhkan. pada tahap ini kita akan membuat database mongodb.
Langkah 1 :
Masuk ke commad mongo dengan mengetikan pada terminal ubuntu anda
"mongo"
Langkah 2 :
Buatlah sebuah database dengan nama "universitas" dengan mengetik
"use universitas"
Jika anda berhasil, maka anda akan menemukan informasi "switched to db universitas"
Langkah 3 :
Membuat field key unik untuk email
"db.mahasiswa.createIndex({"email":1},{unique:true})"
Langkah 4 :
Menginputkan beberapa data pada collection "mahasiswa"
"db.mahasiswa.insert({nim:"111",nama:"Ipung Purwono",email:"ipungofficial@hotmail.com",phone:"089812345678"})"
"db.mahasiswa.insert({nim:"112",nama:"Joko Purwono",email:"jokoofficial@hotmail.com",phone:"089812345678"})"
"db.mahasiswa.insert({nim:"113",nama:"Nenda Sabda",email:"nendaofficial@hotmail.com",phone:"089812345678"})"
Saya telah memasukan 3 data pada collection mahasiswa
Langkah 4 :
Mengecek data yang sudah diinputkan apakah sudah masuk atau belum dengan mengetikan
"db.mahasiswa.find().pretty()"
Maka hasilnya adalah sebagai berikut
Do you understand there's a 12 word phrase you can speak to your partner... that will induce deep emotions of love and instinctual appeal to you buried within his chest?
ReplyDeleteBecause deep inside these 12 words is a "secret signal" that triggers a man's impulse to love, worship and guard you with his entire heart...
=====> 12 Words That Trigger A Man's Desire Impulse
This impulse is so hardwired into a man's mind that it will make him try better than before to take care of you.
In fact, triggering this all-powerful impulse is so mandatory to having the best possible relationship with your man that the instance you send your man one of these "Secret Signals"...
...You'll instantly find him open his soul and heart for you in such a way he's never experienced before and he'll recognize you as the one and only woman in the universe who has ever truly tempted him.