Post
EN

mongo db 쿼리 -_-;; 계속해서 올리는 중

컬럼이 존재하는지 여부

db.table.find({‘a’:{$exists:true}}) = a가 존재하면 나옴

db.table.find({‘a’:{$exists:false}}) = a가 없는 애들 나옴

This article is licensed under CC BY 4.0 by the author.