IT/파이썬 2021. 2. 14.
파이썬 mongodb MongoEngine 사용시 filter 함수
mongoengine 을 쓸때, 데이터를 필터링해서 내는 조건을 적는 구문이 2개 나온다. (what-is-the-difference-of-objects-and-filter-in-mongoengine?) objects(필터링조건) objects.filter(필터링조건) 무슨 차이가 있어 찾아보다가 클리어 한 대답. 아무런 차이가 없다 There is no difference, one is an alias of the other: stackoverflow.com/questions/27340789/what-is-the-difference-of-objects-and-filter-in-mongoengine What is the difference of objects and filter in mongoengine..