Any topics with a specific date

This query finds topics with a specific date value on any property with an expected type of datetime.

The query demonstrates use of "reflect" and "link" to discover properties with a specific expected type.

[
  {
    "/type/reflect/any_value" : [
      {
        "link" : {
          "master_property" : {
            "name" : null
          }
        },
        "type" : "/type/datetime",
        "value" : "1999"
      }
    ],
    "name" : null,
    "type" : "/common/topic"
  }
]

For more information on reflection, see section 3.7.3 of the Complete MQL Reference Guide. For more information on on link queries and the use of reflect, see the appropriate sections in the Schema Introspection Cookbook.

Search Help Center

Discussions

There are no conversations on this topic. Would you like to start one?

Start the Discussion »