就像是:
if (myCollection.find({'thingamaJig.$' : 'number1'}) = null) {
"number1 is NOT in myCollection" }
else { "number1 is already in myCollection!" }
?
就像是:
if (myCollection.find({'thingamaJig.$' : 'number1'}) = null) {
"number1 is NOT in myCollection" }
else { "number1 is already in myCollection!" }
?