These are chat archives for Automattic/mongoose

20th
May 2018
Kev
@lineus
May 20 2018 08:55

@iswanulumam can you be more specific about what you mean by

mongoose array unique value

panigrah
@panigrah
May 20 2018 13:05
@iswanulumam if you are looking to avoid duplicate items in an array field, use the addToSet command instead of a push
Sedric Heidarizarei
@saeedhei
May 20 2018 21:17
@lineus This is my child Schema data, I mean deep child, How Should I make a Schema for This:
reply_markup: { inline_keyboard: [ [{ text: 'Download1', callback_data: 'tele5', }], [{ text: 'Download2', url: 'http://www.radiopopcorn.de/programs/popcorn-1.mp3', }], ], },