Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1693

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

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

      根据日期过滤查询

      语句是

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

      查询的结果是空的?

      为什么?

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

              Created:
              Updated:
              Resolved: