查询日期的字段,查不到数据

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Critical - P2
    • None
    • Affects Version/s: 3.7.2
    • Component/s: API
    • Environment:
      centos7.3 pymongo3.7.2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      根据日期过滤查询

      语句是

      xx.find({"createTime":{"$lte":'2018-11-28 08:21:38.527653'}})

      查询的结果是空的?

      为什么?

              Assignee:
              Prashant Mital (Inactive)
              Reporter:
              hugo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: