_id必须明确排除。例如,
Transaction.find({username : user.username}, { '_id': 0, 'uniqueId' :1, 'timeout': 1, '/confirm/iation_link': 1, 'item_name': 1}, function(err, txs){ console.log("user : " + user.username + " with txs: " + txs); callback(txs);});
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)