FindDescriptorSet

Find descriptor sets that satisfy the specified constraints.

Parameters

Details

The with_name parameter specifies the “name” of the DescriptorSet and is guaranteed to be unique.

Examples

Find the descriptor set that is named “party_faces”:

[ {
    "FindDescriptorSet": {
        "_ref": 1,
        "with_name": "party_faces",
        "results": {
            "list": ["year_created", "description"]
        }
    }
} ]

Find descriptor sets that have a property “year_created” equal to 2020, and retrieve the “year_created” and “description” properties:

[ {
    "FindDescriptorSet": {
        "constraints": {
            "year_created": ["==", 2020]
        }
        "results": {
            "list": ["year_created", "description"]
        }
    }
} ]