Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6336

Comment on: "manual/reference/operator/query/type.txt"

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      It appears you can also use $type with a string argument that describes the data type, e.g.

      {"$type" : "string"}
      {"$type": "int"}
      

      (I saw this in the 3.2 training lesson on document validation and had never heard of it before.)

      This needs to be documented.

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            andre.spiegel@mongodb.com Andre Spiegel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              8 years, 29 weeks, 1 day ago