keystonejs/keystone-classic

AutoKey not working for upserts.

Open

#854 opened on 2015年1月4日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (14,656 stars) (2,288 forks)batch import
enhancementhelp wantedneeds input

説明

i.e.

model.findOneAndUpdate(query, {name: name}, {upsert: true}, function (err, item)  {
  cb(err, item ? item.id : null);
});

コントリビューターガイド