Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

mongodb exists and not null

db.collection1.find({ 'fieldname1' : { $exists: true, $ne: null } });
 
PREVIOUS NEXT
Tagged: #mongodb #exists #null
ADD COMMENT
Topic
Name
6+2 =