These are chat archives for Automattic/mongoose

27th
Jul 2016
Andre de Waard
@andredewaard
Jul 27 2016 20:10
What type do you guys use to store a _id in a table?
I have a team and user table and want to store the user._id in the team.admin_id
I have a Number but that is wrong
Schema.Types.ObjectId creates it's own id
LeonineKing1199
@LeonineKing1199
Jul 27 2016 20:31
Mongo's a document store so I'm not sure what you mean by table.