JKHeadley/rest-hapi

add functionality of Upsert

Open

#64 ouverte le 10 oct. 2017

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)JavaScript (1 181 stars) (156 forks)batch import
enhancementhelp wanted

Description

Hi, Sometime we want to update the document if that is already inserted otherwise we will insert a new one for this like mongo give us Upsert:true option, so suppose i am using Rest-Hapi then how can i achieve the same thing via Rest-Hapi, i mean is there a way to do this.

Thanks

Guide contributeur