Skip to content

Instantly share code, notes, and snippets.

🖥
Working from home

Antonio Raimundo antoniorrm

🖥
Working from home
Block or report user

Report or block antoniorrm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@antoniorrm
antoniorrm / gist:36e6081e076ba8b8dec1712a8097356a
Created Jun 8, 2018 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:36e6081e076ba8b8dec1712a8097356a

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
View Atividade 7 - MongoDB - Projeto de Interface Web.md

Atividade 7

1. Popule a base de dados

  1. Adicione 4 usuários à sua coleção usuários com nome “pedro”, “alice”, ”maria” e “joao”. Os outros atributos são de sua escolha

Na atividade anterior foi feito.

  1. Adicione 3 posts para Pedro e 2 posts para Maria. Atributos texto e likes são de sua escolha e cid começa vazio ( [] )
pedro = db.usuarios.findOne({email:"pedro@redesocial.com"});
db.posts.insert({texto:"Texto 1", likes:10, uid:pedro._id, cid:[]});
You can’t perform that action at this time.